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

Namespace EPiServer.ServiceLocation

Classes

ActivationException

The standard exception thrown when a ServiceLocator has an error in resolving an object.

ConfigurationSectionConstants

Configuration section names

Injected<T>

Marks a property for property injection by the IoC container. When a class uses properties of this type is constructed via the IoC container or BuildUp is called properties of this type are injected by the system. For objects constructed maually via new the service is located using the global service locator object.

InjectedCollection<T>

Marks a property for property injection by the IoC container. When a class uses properties of this type is constructed via the IoC container or BuildUp is called properties of this type are injected by the system. For objects constructed maually via new the services are located using the global service locator object.

OptionsAttribute

Attribute used to declaratively define that a class should be registered in IOC container as an option

ServiceAccessor<TService>

Represents a method used to resolve a service at runtime. During initializing a typed accessor is registered for each service configured using ServiceConfigurationAttribute.

ServiceCollectionAccessor<TService>

Represents a method used to resolve all services at runtime. During initializing a typed accessor is registered for each service configured using ServiceConfigurationAttribute.

ServiceCollectionExtensions

Provides extension methods for Microsoft.Extensions.DependencyInjection.IServiceCollection implemenations.

ServiceConfigurationAttribute

Marks a type that is automatically registered as a service by the EPiServer initialization system.

ServiceConfigurationContext

This class is used by the IConfigurableModule to expose the IoC container for configuration.

ServiceConfigurationEventArgs

Event argument used in event ConfigurationComplete.

ServiceConfigurationProviderExtensions

Provides extension methods for IServiceConfigurationProvider implemenations.

ServiceContainerInitialization

Initializes the IoC container. To use ServiceLocator in an initializable module add ModuleDependencyAttribute from your initializable module to ServiceContainerInitialization.

ServiceDescriptor

Describes a registration of a concrete implementation for an service/abstraction.

ServiceInstanceScope

Scope of service instances.

ServiceLocationHelper

A class that helps resolving services part of the public API. Module namespaces registers extensions to this class to indicate that a service is part of the public API. Using one of these namespaces reveals the API. Instances of this class are available from key base classes and APIs.

ServiceLocator

This class provides the ambient container for this application. If your framework defines such an ambient container, use ServiceLocator.Current to get it.

ServiceLocatorExtensions

Extension methods for IServiceLocator

ServiceLocatorImplBase

This class is a helper that provides a default implementation for most of the methods of IServiceLocator.

ServiceLocatorProvider

This delegate type is used to provide a method that will return the current container. Used with the ServiceLocator static accessor class.

ServicePlugInAttributeBase

Convenience base class for attributes configuring plugin services.

ServiceProviderExtensions

Provides extension methods for System.IServiceProvider implemenations.

ServiceProviderHelper

A class that helps resolving services part of the public API. Module namespaces registers extensions to this class to indicate that a service is part of the public API. Using one of these namespaces reveals the API. Instances of this class are available from key base classes and APIs.

Interfaces

IConfigurableModule

Interface you can implement as part of the EPiServer Framework initialization chain. ConfigureContainer is called on all IInitializableModule before initialization begins. This allows modification of the container before service instances are created during initialization.

IRegisteredService

Extends IServiceConfigurationProvider with possibility to extend latest registration.

IRootServiceScopeFactory

Root service provider factory can be used in the case of background threads, jobs or scenarion when there is no httpcontext The purpose of the this interface is threads can create a scoped service provider from root service provider.

IServiceConfiguration

When implemented by an attribute, this interface controls how the decorated class is registered in the inversion of control container.

IServiceConfigurationProvider

Use to configure implementations for the services that are used by the application.

IServiceLocator

The generic Service Locator interface. This interface is used to retrieve services (instances identified by type and optional name) from a container.