IKernel
The IKernel interface exposes all the functionality
the MicroKernel implements.
Returns the implementation of IComponentModelBuilder
Gets or sets the implementation of IConfigurationStore
Graph of components and interactions.
Returns the implementation of IHandlerFactory
Returns the component instance by the key
Returns the component instance by the service type
Returns the parent kernel
Gets or sets the implementation of IProxyFactory
allowing different strategies for proxy creation.
Gets or sets the implementation for IReleasePolicy
Returns the implementation for IDependencyResolver
Support for kernel hierarchy
void AddComponent(string key, Type serviceType, Type classType, LifestyleType lifestyle, bool overwriteLifestyle)
void AddComponentWithExtendedProperties(string key, Type serviceType, Type classType, IDictionary extendedProperties)
Adds a IFacility to the kernel.
Creates and adds an IFacility facility to the kernel.
Creates and adds an IFacility facility to the kernel.
Creates and adds an IFacility facility to the kernel.
Creates and adds an IFacility facility to the kernel.
Creates and adds an IFacility facility to the kernel.
Creates and adds an IFacility facility to the kernel.
Register a new component resolver that can take part in the decision
making about which handler to resolve
Adds (or replaces) an ISubSystem
Return handlers for components that
implements the specified service.
The check is made using IsAssignableFrom
Returns the facilities registered on the kernel.
Returns the IHandler
for the specified component key.
Returns the IHandler
for the specified service.
Return handlers for components that
implements the specified service.
Returns an implementation of ISubSystem
for the specified key.
SubSystemConstants
Returns true if the specified key was registered
Returns true if the specified service was registered
Registers the components provided by the IRegistrations
with the IKernel.
Create a new registration using Component.For() or AllTypes.
Associates objects with a component handler,
allowing it to use the specified dictionary
when resolving dependencies
Associates objects with a component handler,
allowing it to use the specified dictionary
when resolving dependencies
Associates objects with a component handler,
allowing it to use the specified dictionary
when resolving dependencies
Associates objects with a component handler,
allowing it to use the specified dictionary
when resolving dependencies
Releases a component instance. This allows
the kernel to execute the proper decommission
lifecycles on the component instance.
Remove child kernel
Returns true if the specified component was
found and could be removed (i.e. no other component depends on it)
Returns the component instance by the service type
Returns the component instance by the service type
using dynamic arguments
Returns the component instance by the component key
using dynamic arguments
Returns the component instance by the service type
using dynamic arguments
Returns the component instance by the component key
using dynamic arguments
Returns a component instance by the key
Returns the component instance by the service type
using dynamic arguments
Returns the component instance by the service type
using dynamic arguments
Returns the component instance by the component key
Returns a component instance by the key
Returns a component instance by the key
Returns a component instance by the key
Returns all the valid component instances by
the service type
Returns all the valid component instances by
the service type
Returns all the valid component instances by
the service type
Returns component instances that implement TService
Returns component instances that implement TService
Returns component instances that implement TService