SaaS CMS has officially launched! Learn more now.

Interface IViewManager

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 7.19.2
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.

Extension Methods