Class ComponentManager
Inheritance
System.Object
ComponentManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
public class ComponentManager : IComponentManager
Constructors
ComponentManager(IEnumerable<IComponentProvider>)
Declaration
public ComponentManager(IEnumerable<IComponentProvider> componentProviders)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IEnumerable<IComponentProvider> |
componentProviders |
|
ComponentManager(IEnumerable<IComponentProvider>, EPiServerShellSection)
Declaration
[Obsolete("Use constructor with SecuredComponentOptions instead. Will remain at least until dec 2018.")]
public ComponentManager(IEnumerable<IComponentProvider> componentProviders, EPiServerShellSection shellSection)
Parameters
ComponentManager(IEnumerable<IComponentProvider>, SecuredComponentOptions)
Declaration
public ComponentManager(IEnumerable<IComponentProvider> componentProviders, SecuredComponentOptions options)
Parameters
Methods
CreateComponent(IComponentDefinition, IPrincipal)
Declaration
public IComponent CreateComponent(IComponentDefinition definition, IPrincipal principal)
Parameters
Type |
Name |
Description |
IComponentDefinition |
definition |
|
System.Security.Principal.IPrincipal |
principal |
|
Returns
CreateComponent(String, IPrincipal)
Declaration
public IComponent CreateComponent(string componentDefinitionName, IPrincipal principal)
Parameters
Type |
Name |
Description |
System.String |
componentDefinitionName |
|
System.Security.Principal.IPrincipal |
principal |
|
Returns
GetCategories(IPrincipal)
Declaration
public 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
public IComponentDefinition GetComponentDefinition(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
|
Returns
List(IPrincipal, String, Boolean)
Declaration
public 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
public IEnumerable<IComponentDefinition> ListAll()
Returns
Implements
Extension Methods