C# 클래스 Felinesoft.UmbracoCodeFirst.Attributes.EnumDataTypeAttribute

상속: DataTypeAttribute, IInitialisableAttribute
파일 보기 프로젝트 열기: DanMannMann/UmbracoCodeFirst

공개 메소드들

메소드 설명
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