C# Class Castle.Windsor.Adapters.ComponentModel.ContainerAdapter

Implementation of IContainerAdapter that assumes ownership of the wrapped IWindsorContainer. If this adapter is disposed, the underlying IWindsorContainer is diposed as well.
Inheritance: ContainerWrapper
显示文件 Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
ContainerAdapter ( ) : System

Constructs a default ContainerAdapter.

ContainerAdapter ( IServiceProvider parentProvider ) : System

Constructs a chained ContainerAdapter.

ContainerAdapter ( IWindsorContainer container ) : System

Constructs an initial ContainerAdapter.

ContainerAdapter ( IWindsorContainer container, IServiceProvider parentProvider ) : System

Constructs an initial ContainerAdapter.

Protected Methods

Method Description
CreateDefaultWindsorContainer ( ) : IWindsorContainer
InternalDisposeContainer ( ) : void

Method Details

ContainerAdapter() public method

Constructs a default ContainerAdapter.
public ContainerAdapter ( ) : System
return System

ContainerAdapter() public method

Constructs a chained ContainerAdapter.
public ContainerAdapter ( IServiceProvider parentProvider ) : System
parentProvider IServiceProvider The parent .
return System

ContainerAdapter() public method

Constructs an initial ContainerAdapter.
public ContainerAdapter ( IWindsorContainer container ) : System
container IWindsorContainer The to adapt.
return System

ContainerAdapter() public method

Constructs an initial ContainerAdapter.
public ContainerAdapter ( IWindsorContainer container, IServiceProvider parentProvider ) : System
container IWindsorContainer The to adapt.
parentProvider IServiceProvider The parent .
return System

CreateDefaultWindsorContainer() protected method

protected CreateDefaultWindsorContainer ( ) : IWindsorContainer
return IWindsorContainer

InternalDisposeContainer() protected method

protected InternalDisposeContainer ( ) : void
return void