C# Class N2.DefinitionAttribute

Inheritance: N2.Definitions.AbstractDefinition
Afficher le fichier Open project: n2cms/n2cms

Méthodes publiques

Méthode Description
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.

Method Details

DefinitionAttribute() public méthode

public DefinitionAttribute ( ) : System
Résultat System

DefinitionAttribute() public méthode

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

DefinitionAttribute() public méthode

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. ///
Résultat System

DefinitionAttribute() public méthode

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.
Résultat System

Refine() public méthode

Updates the item definition with the attribute.
public Refine ( ItemDefinition definition ) : void
definition ItemDefinition
Résultat void