Class LicenseAttributeBase
Defines a series of members to be implemented by a type that obtains licenses from the value of an attribute.
Inheritance
LicenseAttributeBase
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
public abstract class LicenseAttributeBase : TextAttribute, IValueAttribute<string>
Constructors
| Edit this page View SourceLicenseAttributeBase(string)
Defines a series of members to be implemented by a type that obtains licenses from the value of an attribute.
Declaration
protected LicenseAttributeBase(string text)
Parameters
Type | Name | Description |
---|---|---|
string | text | Text to associate with the value of this attribute. |
Methods
| Edit this page View SourceGetLicense(object)
Gets a license associated with this attribute.
Declaration
public abstract License GetLicense(object context)
Parameters
Type | Name | Description |
---|---|---|
object | context | Object from which this attribute was extracted. |
Returns
Type | Description |
---|---|
License | A license associated with this attribute. |