C# Class Castle.MicroKernel.ComponentActivator.AbstractComponentActivator

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

Public Methods

Method Description
Create ( CreationContext context, Burden burden ) : object
Destroy ( object instance ) : void

Protected Methods

Method Description
AbstractComponentActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System

Constructs an AbstractComponentActivator

ApplyCommissionConcerns ( object instance ) : void
ApplyConcerns ( IEnumerable steps, object instance ) : void
ApplyConcerns ( IEnumerable steps, object instance ) : void
ApplyDecommissionConcerns ( object instance ) : void
InternalCreate ( CreationContext context ) : object
InternalDestroy ( object instance ) : void

Method Details

AbstractComponentActivator() protected method

Constructs an AbstractComponentActivator
protected AbstractComponentActivator ( ComponentModel model, IKernelInternal kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System
model Castle.Core.ComponentModel
kernel IKernelInternal
onCreation ComponentInstanceDelegate
onDestruction ComponentInstanceDelegate
return System

ApplyCommissionConcerns() protected method

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

ApplyConcerns() protected method

protected ApplyConcerns ( IEnumerable steps, object instance ) : void
steps IEnumerable
instance object
return void

ApplyConcerns() protected method

protected ApplyConcerns ( IEnumerable steps, object instance ) : void
steps IEnumerable
instance object
return void

ApplyDecommissionConcerns() protected method

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

Create() public method

public Create ( CreationContext context, Burden burden ) : object
context Castle.MicroKernel.Context.CreationContext
burden Burden
return object

Destroy() public method

public Destroy ( object instance ) : void
instance object
return void

InternalCreate() protected abstract method

protected abstract InternalCreate ( CreationContext context ) : object
context Castle.MicroKernel.Context.CreationContext
return object

InternalDestroy() protected abstract method

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