Class ContainerExtensions
Provides an extension method to register services onto a DryIoc DryIoc.IContainer.
Namespace: Artemis.Core.DryIoc
Assembly: Artemis.Core.dll
Syntax
public static class ContainerExtensions
Methods
RegisterCore(IContainer)
Registers core services into the container.
Declaration
public static void RegisterCore(this IContainer container)
Parameters
Type | Name | Description |
---|---|---|
IContainer | container | The builder building the current container |
RegisterPlugin(IContainer, Plugin)
Registers plugin services into the container, this is typically a child container.
Declaration
public static void RegisterPlugin(this IContainer container, Plugin plugin)
Parameters
Type | Name | Description |
---|---|---|
IContainer | container | The builder building the current container |
Plugin | plugin | The plugin to register |