C# Класс NDomain.Configuration.AutofacConfigurator

Configurator for Autofac
Показать файл Открыть проект

Открытые методы

Метод Описание
WithAutofac ( this b, IContainer container ) : IoCConfigurator

Configures a NDomain.IoC.IDependencyResolver to use Autofac based on the container. Useful to resolve application message handlers that depend on other components external to NDomain. The application's Autofac container will also get updated with registries for NDomain's components.

Описание методов

WithAutofac() публичный статический Метод

Configures a NDomain.IoC.IDependencyResolver to use Autofac based on the container. Useful to resolve application message handlers that depend on other components external to NDomain. The application's Autofac container will also get updated with registries for NDomain's components.
public static WithAutofac ( this b, IContainer container ) : IoCConfigurator
b this configurator instance
container IContainer application's Autofac container
Результат IoCConfigurator