Interface IComponentManager
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
CreateComponent(String, IPrincipal)
Declaration
IComponent CreateComponent(string componentDefinitionName, IPrincipal principal)
Parameters
Type |
Name |
Description |
System.String |
componentDefinitionName |
|
System.Security.Principal.IPrincipal |
principal |
|
Returns
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
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
ListAll()
Declaration
IEnumerable<IComponentDefinition> ListAll()
Returns
Extension Methods