Class NavigationService
Inheritance
System.Object
NavigationService
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.Shell.Web.Internal
Assembly: EPiServer.Shell.dll
Version: 11.20.7Syntax
public class NavigationService
Constructors
NavigationService(MenuAssembler, ServiceAccessor<RequestContext>)
Declaration
public NavigationService(MenuAssembler menuAssembler, ServiceAccessor<RequestContext> requestContext)
Parameters
Type | Name | Description |
---|---|---|
MenuAssembler | menuAssembler | |
ServiceAccessor<System.Web.Routing.RequestContext> | requestContext |
Methods
GetActionItems()
Declaration
public IEnumerable<ActionItem> GetActionItems()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ActionItem> |
GetAllProducts()
Declaration
public IEnumerable<ProductNavigationItem> GetAllProducts()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ProductNavigationItem> |
GetCurrentProductId()
Declaration
public string GetCurrentProductId()
Returns
Type | Description |
---|---|
System.String |
GetProductMenuItems(String)
Declaration
public IEnumerable<NavigationItem> GetProductMenuItems(string productId)
Parameters
Type | Name | Description |
---|---|---|
System.String | productId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<NavigationItem> |