C# Class Castle.MicroKernel.ComponentActivator.ExternalInstanceActivator

Inheritance: AbstractComponentActivator
显示文件 Open project: castleproject/Windsor

Public Methods

Method Description
CanProvideRequiredDependencies ( ComponentModel component ) : bool
ExternalInstanceActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : Castle.Core
IsManagedExternally ( ComponentModel component ) : bool

Protected Methods

Method Description
InternalCreate ( CreationContext context ) : object
InternalDestroy ( object instance ) : void

Method Details

CanProvideRequiredDependencies() public method

public CanProvideRequiredDependencies ( ComponentModel component ) : bool
component Castle.Core.ComponentModel
return bool

ExternalInstanceActivator() public method

public ExternalInstanceActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : Castle.Core
model Castle.Core.ComponentModel
kernel IKernelInternal
onCreation ComponentInstanceDelegate
onDestruction ComponentInstanceDelegate
return Castle.Core

InternalCreate() protected method

protected InternalCreate ( CreationContext context ) : object
context CreationContext
return object

InternalDestroy() protected method

protected InternalDestroy ( object instance ) : void
instance object
return void

IsManagedExternally() public method

public IsManagedExternally ( ComponentModel component ) : bool
component Castle.Core.ComponentModel
return bool