Interface IViewManager

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 8.11.0
Syntax
public interface IViewManager

Methods

CreateView(String, IPrincipal)

Creates the view.

Declaration
ICompositeView CreateView(string viewName, IPrincipal principal)
Parameters
Type Name Description
System.String viewName

Name of the view.

System.Security.Principal.IPrincipal principal

The user principal.

Returns
Type Description
ICompositeView

a view if found and allowed, otherwise null

GetView(ShellModule, String)

Gets the view name.

Declaration
ICompositeView GetView(ShellModule shellModule, string urlSegment)
Parameters
Type Name Description
ShellModule shellModule

the module

System.String urlSegment

the segment to match

Returns
Type Description
ICompositeView

The view name if exist, otherwise null.