PluginAttribute 类
指定插件类。 此类不能被继承。
继承
System.Object
System.Attribute
PluginAttribute
继承成员
System.Attribute.Equals(System.Object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
System.Attribute.Match(System.Object)
System.Attribute.TypeId
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
命名空间: HuajiTech.CoolQ
程序集: HuajiTech.CoolQ.Abstractions.dll
语法
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class PluginAttribute : Attribute
构造函数
| 改善此文档 查看源代码PluginAttribute()
以 Initializing 初始化一个 PluginAttribute 的新实例。
声明
public PluginAttribute()
PluginAttribute(AppLifecycle)
以指定的加载时机初始化一个 PluginAttribute 类的新实例。
声明
public PluginAttribute(AppLifecycle loadTiming)
参数
类型 | 名称 | 描述 |
---|---|---|
AppLifecycle | loadTiming | 加载时机。 |
PluginAttribute(Int32)
以指定的加载时机初始化一个 PluginAttribute 类的新实例。
声明
public PluginAttribute(int loadTiming)
参数
类型 | 名称 | 描述 |
---|---|---|
System.Int32 | loadTiming | 加载时机的 System.Int32 值,如 |
PluginAttribute(String)
以指定的加载时机初始化一个 PluginAttribute 类的新实例。
声明
public PluginAttribute(string loadTiming)
参数
类型 | 名称 | 描述 |
---|---|---|
System.String | loadTiming | 加载时机的 System.String 表示形式,如 |
属性
| 改善此文档 查看源代码LoadTiming
获取插件的加载时机。
声明
public AppLifecycle LoadTiming { get; }
属性值
类型 | 描述 |
---|---|
AppLifecycle |