SaaS CMS has officially launched! Learn more now.

Class ServiceConfigurationEventArgs

Event argument used in event ConfigurationComplete.

Inheritance
System.Object
System.EventArgs
ServiceConfigurationEventArgs
Inherited Members
System.EventArgs.Empty
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.ServiceLocation
Assembly: EPiServer.Framework.dll
Version: 10.10.4
Syntax
public class ServiceConfigurationEventArgs : EventArgs

Constructors

ServiceConfigurationEventArgs(IServiceConfigurationProvider)

Creates a new instance of ServiceConfigurationEventArgs.

Declaration
public ServiceConfigurationEventArgs(IServiceConfigurationProvider services)
Parameters
Type Name Description
IServiceConfigurationProvider services

The services that is being configured.

ServiceConfigurationEventArgs(IContainer)

Creates a new instance of ServiceConfigurationEventArgs.

Declaration
[Obsolete("Use alternative constructor")]
public ServiceConfigurationEventArgs(IContainer container)
Parameters
Type Name Description
StructureMap.IContainer container

The container that is being configured.

Properties

Container

The default inversion of control container used by episerver modules. Use this property to configure services into the container.

Declaration
[Obsolete("Use extension method StructureMap instead")]
public IContainer Container { get; }
Property Value
Type Description
StructureMap.IContainer

Services

Provider for the registered inversion of control container. Use this property to configure services into the container.

Declaration
public IServiceConfigurationProvider Services { get; }
Property Value
Type Description
IServiceConfigurationProvider

Extension Methods