Method | Description | |
---|---|---|
CommandRunner ( IConfiguration config ) : System |
Initializes a new instance of the CommandRunner class.
|
|
Run ( CancellationToken cancellationToken ) : Task |
Starts watching the file system.
|
Method | Description | |
---|---|---|
ErrorReceived ( object sender, DataReceivedEventArgs e ) : void | ||
OutputReceived ( object sender, DataReceivedEventArgs e ) : void | ||
RunCommand ( object sender, WaitForChangedResult e ) : void |
public CommandRunner ( IConfiguration config ) : System | ||
config | IConfiguration | The configuration to use. |
return | System |
public Run ( CancellationToken cancellationToken ) : Task | ||
cancellationToken | CancellationToken | /// A cancellation token that should be used to cancel the watching task. /// |
return | Task |