LicenseProviderAttribute 成员
指定要与类一起使用的 LicenseProvider。无法继承此类。
下表列出了由 LicenseProviderAttribute 类型公开的成员。
公共构造函数
名称 | 说明 | |
---|---|---|
LicenseProviderAttribute | 已重载。初始化 LicenseProviderAttribute 类的新实例。 |
页首
公共字段
名称 | 说明 | |
---|---|---|
Default | 指定默认值,即无提供程序。此 static 字段是只读的。 |
页首
公共属性
名称 | 说明 | |
---|---|---|
LicenseProvider | 获取必须与该关联类一起使用的许可证提供程序。 | |
TypeId | 已重写。指示此属性类型的唯一 ID。 |
页首
公共方法
(请参见 受保护的方法 )
名称 | 说明 | |
---|---|---|
Equals | 已重载。 已重写。 指示此实例与指定对象是否相等。 | |
GetCustomAttribute | 已重载。 检索应用于程序集、模块、类型成员或方法参数的指定类型的自定义属性。 (从 Attribute 继承。) | |
GetCustomAttributes | 已重载。 检索应用于程序集、模块、类型成员或方法参数的自定义属性的数组。 (从 Attribute 继承。) | |
GetHashCode | 已重写。 返回此实例的哈希代码。 | |
GetType | 获取当前实例的 Type。 (从 Object 继承。) | |
IsDefaultAttribute | 当在派生类中重写时,指示此实例的值是否是派生类的默认值。 (从 Attribute 继承。) | |
IsDefined | 已重载。 确定是否将指定类型的任意自定义属性应用于程序集、模块、类型成员或方法参数。 (从 Attribute 继承。) | |
Match | 当在派生类中重写时,返回一个指示此实例是否等于指定对象的值。 (从 Attribute 继承。) | |
ReferenceEquals | 确定指定的 Object 实例是否是相同的实例。 (从 Object 继承。) | |
ToString | 返回表示当前 Object 的 String。 (从 Object 继承。) |
页首
受保护的方法
名称 | 说明 | |
---|---|---|
Finalize | 允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。 (从 Object 继承。) | |
MemberwiseClone | 创建当前 Object 的浅表副本。 (从 Object 继承。) |
页首
请参见
参考
LicenseProviderAttribute 类
System.ComponentModel 命名空间
License 类
LicenseContext 类
LicenseException 类
LicenseManager 类
LicenseProvider 类
LicFileLicenseProvider
LicenseUsageMode