C# Class N2.Edit.SelectionUtility

Helps discovering item selection in editing interfaces.
Afficher le fichier Open project: n2cms/n2cms Class Usage Examples

Méthodes publiques

Méthode Description
ActionUrl ( string actionName ) : string
GetSelectionParent ( ) : ContentItem
ParseSelected ( string selected ) : ContentItem
ParseSelectionFromRequest ( ) : ContentItem

Analyzes the request trying to determine the selected item.

ParseUrl ( N2.Web.Url selectedUrl ) : ContentItem
SelectedUrl ( N2.Web.Url baseUrl, ContentItem selected = null ) : string
SelectionUtility ( ContentItem selectedItem, ContentItem memorizedItem ) : System.Web
SelectionUtility ( Control container, IEngine engine ) : System.Web
SelectionUtility ( string>.Func accessor, IEngine engine ) : System.Web
SelectionUtility ( HttpContext context, IEngine engine ) : System.Web
SelectionUtility ( System.Web.HttpContextBase context, IEngine engine ) : System.Web

Private Methods

Méthode Description
GetMemoryFromUrl ( ) : ContentItem
ParseLatestDraft ( ContentItem selectedItem ) : ContentItem
ParseSpecificVersion ( ContentItem selectedItem ) : ContentItem
SelectFile ( string selectedUrl ) : ContentItem
SelectionUtility ( ) : System.Web
TryApplyDraft ( ContentItem selectedItem ) : ContentItem

Method Details

ActionUrl() public méthode

public ActionUrl ( string actionName ) : string
actionName string
Résultat string

GetSelectionParent() public méthode

public GetSelectionParent ( ) : ContentItem
Résultat ContentItem

ParseSelected() public méthode

public ParseSelected ( string selected ) : ContentItem
selected string
Résultat ContentItem

ParseSelectionFromRequest() public méthode

Analyzes the request trying to determine the selected item.
public ParseSelectionFromRequest ( ) : ContentItem
Résultat ContentItem

ParseUrl() public méthode

public ParseUrl ( N2.Web.Url selectedUrl ) : ContentItem
selectedUrl N2.Web.Url
Résultat ContentItem

SelectedUrl() public méthode

public SelectedUrl ( N2.Web.Url baseUrl, ContentItem selected = null ) : string
baseUrl N2.Web.Url
selected ContentItem
Résultat string

SelectionUtility() public méthode

public SelectionUtility ( ContentItem selectedItem, ContentItem memorizedItem ) : System.Web
selectedItem ContentItem
memorizedItem ContentItem
Résultat System.Web

SelectionUtility() public méthode

public SelectionUtility ( Control container, IEngine engine ) : System.Web
container System.Web.UI.Control
engine IEngine
Résultat System.Web

SelectionUtility() public méthode

public SelectionUtility ( string>.Func accessor, IEngine engine ) : System.Web
accessor string>.Func
engine IEngine
Résultat System.Web

SelectionUtility() public méthode

public SelectionUtility ( HttpContext context, IEngine engine ) : System.Web
context System.Web.HttpContext
engine IEngine
Résultat System.Web

SelectionUtility() public méthode

public SelectionUtility ( System.Web.HttpContextBase context, IEngine engine ) : System.Web
context System.Web.HttpContextBase
engine IEngine
Résultat System.Web