C# Class Felinesoft.UmbracoCodeFirst.Attributes.DocumentTypeAttribute

Inheritance: ContentTypeAttribute, IInitialisableAttribute
Exibir arquivo Open project: DanMannMann/UmbracoCodeFirst Class Usage Examples

Public Methods

Method Description
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.

Private Methods

Method Description
CheckInit ( ) : void

Method Details

DocumentTypeAttribute() public method

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
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