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

Interface IComponentManager

Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public interface IComponentManager

Methods

CreateComponent(IComponentDefinition, IPrincipal)

Declaration
IComponent CreateComponent(IComponentDefinition definition, IPrincipal principal)
Parameters
Type Name Description
IComponentDefinition definition
System.Security.Principal.IPrincipal principal
Returns
Type Description
IComponent

CreateComponent(String, IPrincipal)

Declaration
IComponent CreateComponent(string componentDefinitionName, IPrincipal principal)
Parameters
Type Name Description
System.String componentDefinitionName
System.Security.Principal.IPrincipal principal
Returns
Type Description
IComponent

GetCategories(IPrincipal)

Declaration
IEnumerable<string> GetCategories(IPrincipal principal)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetComponentDefinition(String)

Declaration
IComponentDefinition GetComponentDefinition(string name)
Parameters
Type Name Description
System.String name
Returns
Type Description
IComponentDefinition

List(IPrincipal, String, Boolean)

Declaration
IEnumerable<IComponentDefinition> List(IPrincipal principal, string category, bool onlyShowComponentsAvailableForUserSelection)
Parameters
Type Name Description
System.Security.Principal.IPrincipal principal
System.String category
System.Boolean onlyShowComponentsAvailableForUserSelection
Returns
Type Description
System.Collections.Generic.IEnumerable<IComponentDefinition>

ListAll()

Declaration
IEnumerable<IComponentDefinition> ListAll()
Returns
Type Description
System.Collections.Generic.IEnumerable<IComponentDefinition>

Extension Methods