Class LicenseTextAttribute
Sets the license text to associate with the element.
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Module|AttributeTargets.Class)]
public sealed class LicenseTextAttribute : LicenseAttributeBase, IValueAttribute<string>
Constructors
| Edit this page View SourceLicenseTextAttribute(string)
Initializes a new instance of the class LicenseTextAttribute.
Declaration
public LicenseTextAttribute(string licenseText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | licenseText | Text of the license. |
LicenseTextAttribute(string, string)
Initializes a new instance of the class LicenseTextAttribute.
Declaration
public LicenseTextAttribute(string title, string licenseText)
Parameters
| Type | Name | Description |
|---|---|---|
| string | title | Title of the license |
| string | licenseText | Text of the license. |
Methods
| Edit this page View SourceGetLicense(object)
Gets a license associated with this attribute.
Declaration
public override 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. |