C# Class Insero.ComponentCompositionFramework.Composition.Dynamic.MefComponentComposer

This is a dynamic backend-to-frontend connection composer based on extensions that can be found in a folder.
Inheritance: ComponentComposerBase, IDisposable
Mostra file Open project: FINESCE/ComponentCompositionFramework Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
MefComponentComposer ( string path ) : System

Constructs the MefConnectionComposer to the given path for extensions.

Start ( ) : void

Starts the ConnectionComposer.

Stop ( ) : void

Stops the ConnectionComposer if it is started.

Private Methods

Method Description
Cleanup ( bool disposing ) : void
CombineComponents ( ) : void
Component_Disposed ( object sender, EventArgs e ) : void
ComposeOrRefresh ( ) : void
InitializeFileWatcherIfNotExist ( ) : void
InitializeMef ( ) : void
UninitializeMef ( ) : void
Watcher_Changed ( object sender, FileSystemEventArgs e ) : void
Watcher_Created ( object sender, FileSystemEventArgs e ) : void
Watcher_Deleted ( object sender, FileSystemEventArgs e ) : void
Watcher_Renamed ( object sender, RenamedEventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MefComponentComposer() public method

Constructs the MefConnectionComposer to the given path for extensions.
public MefComponentComposer ( string path ) : System
path string
return System

Start() public method

Starts the ConnectionComposer.
Thrown if the MefConnectionComposer could not be started
public Start ( ) : void
return void

Stop() public method

Stops the ConnectionComposer if it is started.
public Stop ( ) : void
return void