WindsorContainer
Implementation of IWindsorContainer
which delegates to IKernel implementation.
Returns the inner instance of the MicroKernel
Gets the container's name
Gets or sets the parent container if this instance
is a sub container.
public WindsorContainer()
Constructs a container without any external
configuration reference
Constructs a container using the specified
IConfigurationStore implementation.
Constructs a container using the specified
IConfigurationInterpreter implementation.
Initializes a new instance of the WindsorContainer class.
Initializes a new instance of the WindsorContainer class using a
resource pointed to by the parameter. That may be a file, an assembly embedded resource, a UNC path or a config file section.
Equivalent to the use of new WindsorContainer(new XmlInterpreter(configurationUri))
Constructs a container using the specified IKernel
implementation. Rarely used.
Constructs a container using the specified IKernel
implementation. Rarely used.
Constructs with a given IProxyFactory.
Constructs a container assigning a parent container
before starting the dependency resolution.
public WindsorContainer(string name, IWindsorContainer parent, IConfigurationInterpreter interpreter)
Initializes a new instance of the WindsorContainer class.
Registers a subcontainer. The components exposed
by this container will be accessible from subcontainers.
public IWindsorContainer AddComponentLifeStyle(string key, Type serviceType, Type classType, LifestyleType lifestyle)
public virtual IWindsorContainer AddComponentWithProperties(string key, Type classType, IDictionary extendedProperties)
public virtual IWindsorContainer AddComponentWithProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
Registers a facility within the container.
Creates and adds an IFacility facility to the container.
Creates and adds an IFacility facility to the container.
Registers a facility within the container.
Creates and adds an IFacility facility to the container.
public IWindsorContainer AddFacility<T>(string idInConfiguration, Action<T> configureFacility) where T : IFacility
Creates and adds an IFacility facility to the container.
Executes Dispose on underlying IKernel
Gets a child container instance by name.
Runs the installers so that they can register components in the container. For details see the documentation at http://j.mp/WindsorInstall
Registers the components with the IWindsorContainer. The instances of IRegistration are produced by fluent registration API.
Most common entry points are For<T> method to register a single type or (recommended in most cases)
FromAssembly.
Let the Intellisense drive you through the fluent API past those entry points. For details see the documentation at http://j.mp/WindsorApi
Releases a component instance
Removes (unregisters) a subcontainer. The components exposed by this container
will no longer be accessible to the child container.
Returns a component instance by the service
Returns a component instance by the service
Returns a component instance by the service
Returns a component instance by the key
Returns a component instance by the key
Returns a component instance by the key
Returns a component instance by the service
Returns a component instance by the service
Returns a component instance by the key
Returns a component instance by the key
Returns a component instance by the service
Returns a component instance by the key
Returns a component instance by the key
Returns a component instance by the key
Resolve all valid components that match this type.
Resolve all valid components that match this type.
The service typeArguments to resolve the service
Resolve all valid components that match this type.
The service typeArguments to resolve the service