C# Class Castle.Facilities.Synchronize.CreateOnUIThreadInspector

Ensure that synchronized controls are always created on the main Ui thread.
Inheritance: IContributeComponentModelConstruction, IDisposable
Exibir arquivo Open project: castleproject/Windsor

Public Methods

Method Description
CreateOnUIThreadInspector ( IConfiguration config, IConversionManager converter ) : System

Initializes a new instance of the CreateOnUIThreadInspector class.

ProcessModel ( IKernel kernel, ComponentModel model ) : void

Processes Control implementations.

Private Methods

Method Description
ConfigureProxyOptions ( ComponentModel model ) : void
CreateOnDispatcherUIThread ( CreationContextDelegate performCreation, CreationContext context ) : object
CreateOnWinformsUIThread ( CreationContextDelegate performCreation, CreationContext context ) : object
GetUnproxiedInstance ( object instance ) : object
IDisposable ( ) : void

Releases the marshalling control.

ObtainProxyHook ( IConfiguration config, IConversionManager converter ) : IReference

Method Details

CreateOnUIThreadInspector() public method

Initializes a new instance of the CreateOnUIThreadInspector class.
public CreateOnUIThreadInspector ( IConfiguration config, IConversionManager converter ) : System
config IConfiguration The config.
converter IConversionManager
return System

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