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.
Afficher le fichier Open project: pushtechnology/diffusion-examples Class Usage Examples

Méthodes publiques

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

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

StartExample() public méthode

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