C# Class N2.Details.EditableItemSelectionAttribute

Inheritance: N2.Details.EditableDropDownAttribute
Afficher le fichier Open project: n2cms/n2cms

Méthodes publiques

Méthode Description
EditableItemSelectionAttribute ( ) : N2.Definitions
EditableItemSelectionAttribute ( Type linkedType ) : N2.Definitions
EditableItemSelectionAttribute ( Type linkedType, string title, int sortOrder ) : N2.Definitions
UpdateEditor ( ContentItem item, System editor ) : void
UpdateItem ( ContentItem item, System editor ) : bool
Write ( ContentItem item, string propertyName, System writer ) : void

Méthodes protégées

Méthode Description
ConvertToValue ( string value ) : object
GetDataItemsByIds ( ) : IEnumerable
GetListItems ( ) : System.Web.UI.WebControls.ListItem[]
GetStoredSelection ( ContentItem item ) : HashSet
GetValue ( ContentItem item ) : string
ReplaceStoredValue ( ContentItem item, IEnumerable linksToReplace ) : void

Private Methods

Méthode Description
Is ( EditableItemSelectionFilter filter ) : bool

Method Details

ConvertToValue() protected méthode

protected ConvertToValue ( string value ) : object
value string
Résultat object

EditableItemSelectionAttribute() public méthode

public EditableItemSelectionAttribute ( ) : N2.Definitions
Résultat N2.Definitions

EditableItemSelectionAttribute() public méthode

public EditableItemSelectionAttribute ( Type linkedType ) : N2.Definitions
linkedType System.Type
Résultat N2.Definitions

EditableItemSelectionAttribute() public méthode

public EditableItemSelectionAttribute ( Type linkedType, string title, int sortOrder ) : N2.Definitions
linkedType System.Type
title string
sortOrder int
Résultat N2.Definitions

GetDataItemsByIds() protected méthode

protected GetDataItemsByIds ( ) : IEnumerable
Résultat IEnumerable

GetListItems() protected méthode

protected GetListItems ( ) : System.Web.UI.WebControls.ListItem[]
Résultat System.Web.UI.WebControls.ListItem[]

GetStoredSelection() protected méthode

protected GetStoredSelection ( ContentItem item ) : HashSet
item ContentItem
Résultat HashSet

GetValue() protected méthode

protected GetValue ( ContentItem item ) : string
item ContentItem
Résultat string

ReplaceStoredValue() protected méthode

protected ReplaceStoredValue ( ContentItem item, IEnumerable linksToReplace ) : void
item ContentItem
linksToReplace IEnumerable
Résultat void

UpdateEditor() public méthode

public UpdateEditor ( ContentItem item, System editor ) : void
item ContentItem
editor System
Résultat void

UpdateItem() public méthode

public UpdateItem ( ContentItem item, System editor ) : bool
item ContentItem
editor System
Résultat bool

Write() public méthode

public Write ( ContentItem item, string propertyName, System writer ) : void
item ContentItem
propertyName string
writer System
Résultat void