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

Class ServiceLocatorComponentProvider

Inheritance
System.Object
ServiceLocatorComponentProvider
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()
Namespace: EPiServer.Shell.ViewComposition
Assembly: EPiServer.Shell.dll
Version: 11.20.7
Syntax
[ComponentProvider]
public class ServiceLocatorComponentProvider : IComponentProvider, ISortable

Constructors

ServiceLocatorComponentProvider(IServiceLocator)

Declaration
public ServiceLocatorComponentProvider(IServiceLocator serviceLocator)
Parameters
Type Name Description
IServiceLocator serviceLocator

Properties

SortOrder

Declaration
public int SortOrder { get; }
Property Value
Type Description
System.Int32

Methods

CreateComponent(IComponentDefinition)

Declaration
public IComponent CreateComponent(IComponentDefinition definition)
Parameters
Type Name Description
IComponentDefinition definition
Returns
Type Description
IComponent

GetComponentDefinitions()

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

Implements

Extension Methods