C# Class Felinesoft.UmbracoCodeFirst.Attributes.EnumDataTypeAttribute

Inheritance: DataTypeAttribute, IInitialisableAttribute
Afficher le fichier Open project: DanMannMann/UmbracoCodeFirst

Méthodes publiques

Méthode 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 méthode

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
Résultat System

Initialise() public méthode

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
Résultat void