Class PropertyAttribute
Extension attribute
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class PropertyAttribute : ExtensionAttribute- Inheritance
- 
      objectAttributePropertyAttribute
- Inherited Members
- Extension Methods
Constructors
PropertyAttribute(Type, string)
Extends the class with the specified extension
public PropertyAttribute(Type extensionType, string propertyName)Parameters
- extensionTypeType
- Extension type 
- propertyNamestring
- Property name 
Properties
PropertyName
Property name
public string PropertyName { get; protected set; }Property Value
- string
Methods
RegisterTo(Type)
Registers the extension within the system
public override void RegisterTo(Type type)Parameters
- typeType
- Object type to which the extension will be registered