C# Class Talifun.Commander.Command.CommanderManager

Inheritance: ICommanderManager
Afficher le fichier Open project: taliesins/talifun-commander

Méthodes publiques

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

Private Methods

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

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
Résultat System

GetCommanderSectionWindow() public méthode

public GetCommanderSectionWindow ( ) : CommanderSectionWindow
Résultat CommanderSectionWindow

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void