C# 클래스 PushTechnology.ClientInterface.Examples.Runner.ExampleRunner

Class used by the Main method in Program to start a new cancelalble task for each IExample implementation.
파일 보기 프로젝트 열기: pushtechnology/diffusion-examples 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

AwaitCancellation() 공개 메소드

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

StartExample() 공개 메소드

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