C# Class Castle.Facilities.Synchronize.ControlComponentInspector

Checks for Control implementations a registers components to ensure the controls can be safely created and accessed from different threads.
Inheritance: IContributeComponentModelConstruction, IDisposable
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
ControlComponentInspector ( IKernel kernel, IConfiguration config ) : System

Initializes a new instance of the ControlComponentInspector class.

Dispose ( ) : void

Releases the marshaling control.

ProcessModel ( IKernel kernel, ComponentModel model ) : void

Processes Control implementations.

Private Methods

Method Description
CheckForControlImplementation ( ComponentModel model ) : void
ConfigureProxyOptions ( ComponentModel model ) : void
ObtainProxyHook ( IKernel kernel, IConfiguration config ) : IProxyHook
RegisterWindowsFormsSynchronizationContext ( IKernel kernel ) : void

Method Details

ControlComponentInspector() public method

Initializes a new instance of the ControlComponentInspector class.
public ControlComponentInspector ( IKernel kernel, IConfiguration config ) : System
kernel IKernel The kernel.
config IConfiguration The config.
return System

Dispose() public method

Releases the marshaling control.
public Dispose ( ) : void
return void

ProcessModel() public method

Processes Control implementations.
public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel The kernel.
model Castle.Core.ComponentModel The model.
return void