C# 클래스 BlueCollar.Service.ApplicationCoordinator

상속: IDisposable
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar 1 사용 예제들

공개 메소드들

메소드 설명
ApplicationCoordinator ( Logger logger ) : System

Initializes a new instance of the ApplicationCoordinator class.

ApplicationCoordinator ( Logger logger, string exePath ) : System

Initializes a new instance of the ApplicationCoordinator class.

Dispose ( ) : void

Disposes of resources used by this instance.

GetCoordinatedApplicationPaths ( ) : IEnumerable

Gets a collection of application paths currently being coordinated by this instance.

StartAndRefresh ( IEnumerable elements ) : void

Starts or refreshes all applications, creating and pruning existing applications from the given element collection as necessary.

Stop ( ) : void

Stops all applications.

비공개 메소드들

메소드 설명
ApplicationExited ( object sender, EventArgs e ) : void

Raises an application's Exited event.

CreateRefreshAndPruneApplications ( IEnumerable elements ) : void
Dispose ( bool disposing ) : void

Disposes of resources used by this instance.

SetApplicationProperties ( ApplicationProcess application, ApplicationElement element ) : bool

Sets the given application's configurable properties from the given configuration element.

StartApplication ( object context ) : void

Starts an application.

Stop ( bool disposing ) : void

Stops all applications.

메소드 상세

ApplicationCoordinator() 공개 메소드

Initializes a new instance of the ApplicationCoordinator class.
public ApplicationCoordinator ( Logger logger ) : System
logger Logger The logger to use.
리턴 System

ApplicationCoordinator() 공개 메소드

Initializes a new instance of the ApplicationCoordinator class.
public ApplicationCoordinator ( Logger logger, string exePath ) : System
logger Logger The logger to use.
exePath string The path of the Collar.exe path to use for applications.
리턴 System

Dispose() 공개 메소드

Disposes of resources used by this instance.
public Dispose ( ) : void
리턴 void

GetCoordinatedApplicationPaths() 공개 메소드

Gets a collection of application paths currently being coordinated by this instance.
public GetCoordinatedApplicationPaths ( ) : IEnumerable
리턴 IEnumerable

StartAndRefresh() 공개 메소드

Starts or refreshes all applications, creating and pruning existing applications from the given element collection as necessary.
public StartAndRefresh ( IEnumerable elements ) : void
elements IEnumerable The application element collection to use when building the /// application process list.
리턴 void

Stop() 공개 메소드

Stops all applications.
public Stop ( ) : void
리턴 void