Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Version Info: This topic applies to Episerver.ConnectForMarketingAutomation 4.0.0 and lower. For later versions, see Sample Connector - IMarketingConnector.
This class is used by the IConfigurableModule to expose the IoC container for configuration.
System.Object
EPiServer.ServiceLocation.ServiceConfigurationContext
public class ServiceConfigurationContext
The ServiceConfigurationContext type exposes the following members.
Creates an instance of the ServiceConfigurationContext class.
public ServiceConfigurationContext(
HostType hostType,
IContainer container
)
The default inversion of control container used by episerver modules. Use this property to configure services into the container.
public IContainer Container { get; }
Gets the type of the host.
public HostType HostType { get; }
ConfigurationComplete is raised when all ConfigureContainer(ServiceConfigurationContext) has been called.
public event EventHandler<ServiceConfigurationEventArgs> ConfigurationComplete
Last updated: Dec 10, 2015