Class ViewModeMenuProvider
Inheritance
System.Object
ViewModeMenuProvider
Implements
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.Cms.Shell.UI.Internal
Assembly: EPiServer.Cms.Shell.UI.dll
Version: 11.20.7Syntax
[MenuProvider]
public class ViewModeMenuProvider : IMenuProvider
Constructors
ViewModeMenuProvider(IContentRepository, LocalizationService, ISiteDefinitionRepository, ServiceAccessor<SiteDefinition>, UrlResolver, ServiceAccessor<HttpContextBase>)
Declaration
public ViewModeMenuProvider(IContentRepository contentRepository, LocalizationService localizationService, ISiteDefinitionRepository siteDefinitionRepository, ServiceAccessor<SiteDefinition> currentSiteDefinition, UrlResolver urlResolver, ServiceAccessor<HttpContextBase> httpContext)
Parameters
Type | Name | Description |
---|---|---|
IContentRepository | contentRepository | |
LocalizationService | localizationService | |
ISiteDefinitionRepository | siteDefinitionRepository | |
ServiceAccessor<SiteDefinition> | currentSiteDefinition | |
UrlResolver | urlResolver | |
ServiceAccessor<System.Web.HttpContextBase> | httpContext |
Methods
GetMenuItems()
Declaration
public IEnumerable<MenuItem> GetMenuItems()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<MenuItem> |