Class TypeAttribute
Annotates an element with a type, and also serves as the base class for attributes that describe a value representable as a Type for an element.
Implements
Inherited Members
Namespace: TheXDS.MCART.Attributes
Assembly: MCART.dll
Syntax
[AttributeUsage(AttributeTargets.All)]
[Serializable]
public class TypeAttribute : Attribute, IValueAttribute<Type>
Constructors
| Edit this page View SourceTypeAttribute(Type)
Annotates an element with a type, and also serves as the base class for attributes that describe a value representable as a Type for an element.
Declaration
public TypeAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type to associate to this element. |
Properties
| Edit this page View SourceValue
Gets the value of this attribute.
Declaration
public Type Value { get; }
Property Value
Type | Description |
---|---|
Type |