C# 클래스 GlobWatch.CommandRunner

Runs commands when file system changes occur.
파일 보기 프로젝트 열기: mdschweda/globwatch

공개 메소드들

메소드 설명
CommandRunner ( IConfiguration config ) : System

Initializes a new instance of the CommandRunner class.

Run ( CancellationToken cancellationToken ) : Task

Starts watching the file system.

비공개 메소드들

메소드 설명
ErrorReceived ( object sender, DataReceivedEventArgs e ) : void
OutputReceived ( object sender, DataReceivedEventArgs e ) : void
RunCommand ( object sender, WaitForChangedResult e ) : void

메소드 상세

CommandRunner() 공개 메소드

Initializes a new instance of the CommandRunner class.
public CommandRunner ( IConfiguration config ) : System
config IConfiguration The configuration to use.
리턴 System

Run() 공개 메소드

Starts watching the file system.
public Run ( CancellationToken cancellationToken ) : Task
cancellationToken CancellationToken /// A cancellation token that should be used to cancel the watching task. ///
리턴 Task