C# Class Felinesoft.UmbracoCodeFirst.Attributes.EnumDataTypeAttribute

Inheritance: DataTypeAttribute, IInitialisableAttribute
Exibir arquivo Open project: DanMannMann/UmbracoCodeFirst

Public Methods

Method Description
EnumDataTypeAttribute ( string propertyEditorAlias = null, string name = null ) : System

Specifies that the decorated enum is a code-first enum data type

Initialise ( Type decoratedType ) : void

Initialises the Factory property based on the type to which the attribute is applied.

Method Details

EnumDataTypeAttribute() public method

Specifies that the decorated enum is a code-first enum data type
public EnumDataTypeAttribute ( string propertyEditorAlias = null, string name = null ) : System
propertyEditorAlias string The property editor alias for the data type
name string The instance name for the data type
return System

Initialise() public method

Initialises the Factory property based on the type to which the attribute is applied.
public Initialise ( Type decoratedType ) : void
decoratedType System.Type The type to which the attribute is applied
return void