OpenMod Docs OpenMod Docs
OpenMod Docs OpenMod Docs
OpenMod .NET Plugin Framework.

Interface IServiceConfigurator

Configurator for the OpenMod IoC container.

Namespace: OpenMod.API.Ioc
Assembly: OpenMod.API.dll
Syntax
public interface IServiceConfigurator

Methods

| Improve this Doc View Source

ConfigureServices(IOpenModServiceConfigurationContext, IServiceCollection)

Called when the OpenMod root IoC container gets built.

Declaration
void ConfigureServices(IOpenModServiceConfigurationContext openModStartupContext, IServiceCollection serviceCollection)
Parameters
Type Name Description
IOpenModServiceConfigurationContext openModStartupContext

The startup context.

IServiceCollection serviceCollection

The service collection.

Extension Methods

DisposeHelper.DisposeSyncOrAsync(Object)