C# Class Castle.Facilities.Synchronize.ControlComponentActivator

Inheritance: Castle.MicroKernel.ComponentActivator.DefaultComponentActivator
显示文件 Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ControlComponentActivator ( ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System.Runtime.Remoting

Initializes a new instance of the ControlComponentActivator class.

Protected Methods

Method Description
Instantiate ( CreationContext context ) : object

Private Methods

Method Description
EnsureHandleCreated ( object component ) : void
GetUnproxiedInstance ( object instance ) : object
InstantiateInMainThread ( CreationContext context ) : object

Method Details

ControlComponentActivator() public method

Initializes a new instance of the ControlComponentActivator class.
public ControlComponentActivator ( ComponentModel model, IKernel kernel, ComponentInstanceDelegate onCreation, ComponentInstanceDelegate onDestruction ) : System.Runtime.Remoting
model Castle.Core.ComponentModel The model.
kernel IKernel The kernel.
onCreation ComponentInstanceDelegate Delegate called on construction.
onDestruction ComponentInstanceDelegate Delegate called on destruction.
return System.Runtime.Remoting

Instantiate() protected method

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