C# Class Castle.MicroKernel.DefaultKernel

Default implementation of IKernel. This implementation is complete and also support a kernel hierarchy (sub containers).
显示文件 Open project: castleproject/Windsor Class Usage Examples

Public Methods

Method Description
OptimizeDependencyResolution ( ) : IDisposable

Protected Methods

Method Description
RaiseAddedAsChildKernel ( ) : void
RaiseComponentCreated ( ComponentModel model, object instance ) : void
RaiseComponentDestroyed ( ComponentModel model, object instance ) : void
RaiseComponentModelCreated ( ComponentModel model ) : void
RaiseComponentRegistered ( String key, IHandler handler ) : void
RaiseDependencyResolving ( ComponentModel client, DependencyModel model, Object dependency ) : void
RaiseHandlerRegistered ( IHandler handler ) : void
RaiseHandlersChanged ( ) : void
RaiseRegistrationCompleted ( ) : void
RaiseRemovedAsChildKernel ( ) : void

Private Methods

Method Description
DoActualRaisingOfHandlersChanged ( ) : void
InitializeLifetimeService ( ) : object

Method Details

OptimizeDependencyResolution() public method

public OptimizeDependencyResolution ( ) : IDisposable
return IDisposable

RaiseAddedAsChildKernel() protected method

protected RaiseAddedAsChildKernel ( ) : void
return void

RaiseComponentCreated() protected method

protected RaiseComponentCreated ( ComponentModel model, object instance ) : void
model Castle.Core.ComponentModel
instance object
return void

RaiseComponentDestroyed() protected method

protected RaiseComponentDestroyed ( ComponentModel model, object instance ) : void
model Castle.Core.ComponentModel
instance object
return void

RaiseComponentModelCreated() protected method

protected RaiseComponentModelCreated ( ComponentModel model ) : void
model Castle.Core.ComponentModel
return void

RaiseComponentRegistered() protected method

protected RaiseComponentRegistered ( String key, IHandler handler ) : void
key String
handler IHandler
return void

RaiseDependencyResolving() protected method

protected RaiseDependencyResolving ( ComponentModel client, DependencyModel model, Object dependency ) : void
client Castle.Core.ComponentModel
model Castle.Core.DependencyModel
dependency Object
return void

RaiseHandlerRegistered() protected method

protected RaiseHandlerRegistered ( IHandler handler ) : void
handler IHandler
return void

RaiseHandlersChanged() protected method

protected RaiseHandlersChanged ( ) : void
return void

RaiseRegistrationCompleted() protected method

protected RaiseRegistrationCompleted ( ) : void
return void

RaiseRemovedAsChildKernel() protected method

protected RaiseRemovedAsChildKernel ( ) : void
return void