C# Класс Felinesoft.UmbracoCodeFirst.Attributes.EnumDataTypeAttribute

Наследование: DataTypeAttribute, IInitialisableAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

EnumDataTypeAttribute() публичный Метод

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
Результат System

Initialise() публичный Метод

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
Результат void