C# Class Drey.Configuration.Infrastructure.IoC.AutofacConfig

Autofac configuration. Configuration routine for autofac, as well as holds the static instance of the configured container.
显示文件 Open project: dealproc/Drey

Public Methods

Method Description
Configure ( IEventBus eventBus, ServiceModel hoardeManager, INutConfiguration configurationManager ) : void

Configuration routine of the autofac container.

DisposeContainer ( ) : void

Disposes the container.

Method Details

Configure() public static method

Configuration routine of the autofac container.
public static Configure ( IEventBus eventBus, ServiceModel hoardeManager, INutConfiguration configurationManager ) : void
eventBus IEventBus The event bus.
hoardeManager ServiceModel The hoarde manager.
configurationManager INutConfiguration The host's configuration manager.
return void

DisposeContainer() public static method

Disposes the container.
public static DisposeContainer ( ) : void
return void