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

상속: ContentTypeAttribute, IInitialisableAttribute
파일 보기 프로젝트 열기: DanMannMann/UmbracoCodeFirst 1 사용 예제들

공개 메소드들

메소드 설명
DocumentTypeAttribute ( string name = null, string alias = null, Type allowedChildren = null, string icon = BuiltInIcons.IconDocument, bool allowAtRoot = false, bool enableListView = false, string description = "", UmbracoIconColor iconColor = UmbracoIconColor.Black ) : System
Initialise ( Type decoratedType ) : void

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

비공개 메소드들

메소드 설명
CheckInit ( ) : void

메소드 상세

DocumentTypeAttribute() 공개 메소드

public DocumentTypeAttribute ( string name = null, string alias = null, Type allowedChildren = null, string icon = BuiltInIcons.IconDocument, bool allowAtRoot = false, bool enableListView = false, string description = "", UmbracoIconColor iconColor = UmbracoIconColor.Black ) : System
name string
alias string
allowedChildren System.Type
icon string
allowAtRoot bool
enableListView bool
description string
iconColor UmbracoIconColor
리턴 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