Class QuickNavigatorItemProvider
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Provides the "Go to Dashboard" and "Go to Edit" menu items.
Inheritance
Implements
Inherited Members
Namespace: EPiServer.Web.PageExtensions.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
[ServiceConfiguration(typeof(IQuickNavigatorItemProvider))]
public class QuickNavigatorItemProvider : IQuickNavigatorItemProvider
Constructors
QuickNavigatorItemProvider(IContentLoader, EditUrlResolver)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
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. |