C# Class PushTechnology.ClientInterface.Examples.Runner.ExampleRunner

Class used by the Main method in Program to start a new cancelalble task for each IExample implementation.
Datei anzeigen Open project: pushtechnology/diffusion-examples Class Usage Examples

Public Methods

Method Description
AwaitCancellation ( ) : void

Method used to wait for examples to be canceled by the user.

Pressing any key will stop the examples.

StartExample ( IExample example ) : void

Starts a new task for an IExample implemetation.

Method Details

AwaitCancellation() public method

Method used to wait for examples to be canceled by the user.
Pressing any key will stop the examples.
public AwaitCancellation ( ) : void
return void

StartExample() public method

Starts a new task for an IExample implemetation.
public StartExample ( IExample example ) : void
example IExample The example to run.
return void