Class QuickNavigatorItemProvider

Provides the "Go to Dashboard" and "Go to Edit" menu items.

Inheritance
System.Object
QuickNavigatorItemProvider
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration(typeof(IQuickNavigatorItemProvider))]
public class QuickNavigatorItemProvider : IQuickNavigatorItemProvider

Constructors

QuickNavigatorItemProvider(IContentLoader)

Declaration
[Obsolete("Use alternative constructor")]
public QuickNavigatorItemProvider(IContentLoader contentLoader)
Parameters
Type Name Description
IContentLoader contentLoader

QuickNavigatorItemProvider(IContentLoader, EditUrlResolver)

Initializes a new instance of the QuickNavigatorItemProvider class.

Declaration
public QuickNavigatorItemProvider(IContentLoader contentLoader, EditUrlResolver editUrlResolver)
Parameters
Type Name Description
IContentLoader contentLoader
EditUrlResolver editUrlResolver

Properties

SortOrder

Gets the sort priority of this provider.

Declaration
public int SortOrder { get; }
Property Value
Type Description
System.Int32
Remarks

The lower the number, the higher the items from this provider will be placed in the quick navigator.

Methods

GetMenuItems(ContentReference)

Gets the menu items that should be added to the quick navigator.

Declaration
public IDictionary<string, QuickNavigatorMenuItem> GetMenuItems(ContentReference currentContent)
Parameters
Type Name Description
ContentReference currentContent

The currently selected content.

Returns
Type Description
System.Collections.Generic.IDictionary<System.String, QuickNavigatorMenuItem>

A dictionary containing the menu items that should be added to the quick navigator.

Implements

Extension Methods