SaaS CMS has officially launched! Learn more now.

Class MenuBuilder

Inheritance
System.Object
MenuBuilder
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.Navigation
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[ServiceConfiguration(Lifecycle = ServiceInstanceScope.Singleton)]
public class MenuBuilder

Constructors

MenuBuilder(MenuAssembler, IServiceLocator)

Declaration
public MenuBuilder(MenuAssembler assembler, IServiceLocator serviceLocator)
Parameters
Type Name Description
MenuAssembler assembler
IServiceLocator serviceLocator

Methods

GetMenu(String)

Declaration
public string GetMenu(string startPath)
Parameters
Type Name Description
System.String startPath
Returns
Type Description
System.String

GetMenu(String, String)

Declaration
public string GetMenu(string startPath, string selectionPath)
Parameters
Type Name Description
System.String startPath
System.String selectionPath
Returns
Type Description
System.String

Render(TextWriter, String, String)

Declaration
public virtual void Render(TextWriter writer, string startPath, string selectionPath)
Parameters
Type Name Description
System.IO.TextWriter writer
System.String startPath
System.String selectionPath

Extension Methods