A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn 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