C# Class Castle.Facilities.TypedFactory.DelegateFactoryActivator

Inheritance: Castle.MicroKernel.ComponentActivator.AbstractComponentActivator, IDependencyAwareActivator
Show file Open project: castleproject/Windsor

Public Methods

Method Description
CanProvideRequiredDependencies ( ComponentModel component ) : bool
DelegateFactoryActivator ( 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

DelegateFactoryActivator() public method

public DelegateFactoryActivator ( 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