C# Class Castle.Windsor.Adapters.ComponentModel.ServiceCreatorCallbackActivator

Custom activator to create the instance on demand.
Inheritance: Castle.MicroKernel.ComponentActivator.AbstractComponentActivator
Mostrar archivo Open project: nats/castle-1.0.3-mono

Public Properties

Property Type Description
ServiceContainerKey String
ServiceCreatorCallbackKey String

Public Methods

Method Description
ServiceCreatorCallbackActivator ( ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System

Protected Methods

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

Method Details

InternalCreate() protected method

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

InternalDestroy() protected method

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

ServiceCreatorCallbackActivator() public method

public ServiceCreatorCallbackActivator ( ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System
model Castle.Core.ComponentModel
kernel IKernel
onCreation ComponentInstanceDelegate
onDestruction ComponentInstanceDelegate
return System

Property Details

ServiceContainerKey public_oe static_oe property

public static String ServiceContainerKey
return String

ServiceCreatorCallbackKey public_oe static_oe property

public static String ServiceCreatorCallbackKey
return String