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
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode 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

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

Method Details

ControlComponentInspector() public méthode

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

Dispose() public méthode

Releases the marshaling control.
public Dispose ( ) : void
Résultat void

ProcessModel() public méthode

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