C# 클래스 N2.DefinitionAttribute

상속: N2.Definitions.AbstractDefinition
파일 보기 프로젝트 열기: n2cms/n2cms

공개 메소드들

메소드 설명
DefinitionAttribute ( ) : System
DefinitionAttribute ( string title ) : System

Initializes a new instance of ItemAttribute class.

DefinitionAttribute ( string title, string name ) : System

Initializes a new instance of ItemAttribute class.

DefinitionAttribute ( string title, string name, string description, string toolTip, int sortOrder ) : System

Initializes a new instance of ItemAttribute class.

Refine ( ItemDefinition definition ) : void

Updates the item definition with the attribute.

메소드 상세

DefinitionAttribute() 공개 메소드

public DefinitionAttribute ( ) : System
리턴 System

DefinitionAttribute() 공개 메소드

Initializes a new instance of ItemAttribute class.
public DefinitionAttribute ( string title ) : System
title string The title used when presenting this item type to editors.
리턴 System

DefinitionAttribute() 공개 메소드

Initializes a new instance of ItemAttribute class.
public DefinitionAttribute ( string title, string name ) : System
title string The title used when presenting this item type to editors.
name string /// The name/discriminator needed to map the appropriate type with content data when retrieving from /// persistence. When this is null the type's full name is used. ///
리턴 System

DefinitionAttribute() 공개 메소드

Initializes a new instance of ItemAttribute class.
public DefinitionAttribute ( string title, string name, string description, string toolTip, int sortOrder ) : System
title string The title used when presenting this item type to editors.
name string /// The name/discriminator needed to map the appropriate type with content data when retrieving from /// persistence. When this is null the type's name is used. ///
description string The description of this item.
toolTip string The tool tip displayed when hovering over this item type.
sortOrder int The order of this type compared to other items types.
리턴 System

Refine() 공개 메소드

Updates the item definition with the attribute.
public Refine ( ItemDefinition definition ) : void
definition ItemDefinition
리턴 void