C# Class Talifun.Commander.Command.CommanderManager

Inheritance: ICommanderManager
Show file Open project: taliesins/talifun-commander

Public Methods

Method Description
CommanderManager ( System.ComponentModel.Composition.Hosting.ExportProvider container, AppSettingsSection appSettings, CommanderSection commanderSettings, IEnhancedFileSystemWatcherFactory enhancedFileSystemWatcherFactory ) : System
GetCommanderSectionWindow ( ) : CommanderSectionWindow
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
AsynchronousOnCommanderStartedEventRaised ( object state ) : void
AsynchronousOnCommanderStoppedEventRaised ( object state ) : void
OnCommanderStartedEvent ( CommanderStartedEventArgs e ) : void

Template method to add default behaviour for the event

OnCommanderStoppedEvent ( CommanderStoppedEventArgs e ) : void

Template method to add default behaviour for the event

RaiseAsynchronousOnCommanderStartedEvent ( CommanderStartedEventArgs e ) : void

Will raise the event on the calling thread asynchronously. i.e. it will immediatly continue processing even though event handlers have not processed the event yet.

RaiseAsynchronousOnCommanderStoppedEvent ( CommanderStoppedEventArgs e ) : void

Will raise the event on the calling thread asynchronously. i.e. it will immediatly continue processing even though event handlers have not processed the event yet.

RaiseCrossThreadOnCommanderStartedEvent ( CommanderStartedEventArgs e ) : void

Will raise the event on the calling thread synchronously. i.e. it will wait until all event handlers have processed the event.

RaiseCrossThreadOnCommanderStoppedEvent ( CommanderStoppedEventArgs e ) : void

Will raise the event on the calling thread synchronously. i.e. it will wait until all event handlers have processed the event.

RaiseOnCommanderStartedEvent ( CommanderStartedEventArgs e ) : void

Will raise the event on the current thread synchronously. i.e. it will wait until all event handlers have processed the event.

RaiseOnCommanderStoppedEvent ( CommanderStoppedEventArgs e ) : void

Will raise the event on the current thread synchronously. i.e. it will wait until all event handlers have processed the event.

TheStartup ( object o ) : void

Method Details

CommanderManager() public method

public CommanderManager ( System.ComponentModel.Composition.Hosting.ExportProvider container, AppSettingsSection appSettings, CommanderSection commanderSettings, IEnhancedFileSystemWatcherFactory enhancedFileSystemWatcherFactory ) : System
container System.ComponentModel.Composition.Hosting.ExportProvider
appSettings System.Configuration.AppSettingsSection
commanderSettings Talifun.Commander.Command.Configuration.CommanderSection
enhancedFileSystemWatcherFactory IEnhancedFileSystemWatcherFactory
return System

GetCommanderSectionWindow() public method

public GetCommanderSectionWindow ( ) : CommanderSectionWindow
return CommanderSectionWindow

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void