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

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

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

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