November Happy Hour will be moved to Thursday December 5th.

Interface IMenuProvider

Classes implementing this interface can be used to provide links to the shell menu.

Namespace: EPiServer.Shell.Navigation
Assembly: EPiServer.Shell.dll
Version: 9.12.2
Syntax
public interface IMenuProvider
Remarks

Besides implementing the interface menu providers must also be exported for usage by the composition container. This is typically done by the class' assembly beeing configured in web.config.

Methods

GetMenuItems()

This method is called when the menu is being assembled.

Declaration
IEnumerable<MenuItem> GetMenuItems()
Returns
Type Description
System.Collections.Generic.IEnumerable<MenuItem>

A list of MenuItems that the provider exposes.

Remarks

The Provider implementation has to handle the security themself.

Extension Methods