C# 클래스 Recognos.Core.SimpleScheduler

Simple scheduler class
상속: IDisposable
파일 보기 프로젝트 열기: Recognos/Recognos.Core 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

SimpleScheduler ( System.Action task, string timeToRun ) : System

Initializes a new instance of the SimpleScheduler class.

SimpleScheduler ( System.Action task, string timeToRunTask, System.TimeSpan interval ) : System

Initializes a new instance of the SimpleScheduler class.

Start ( ) : void

Starts the scheduler.

Stop ( ) : void

Stops the scheduler.

비공개 메소드들

메소드 설명
RunTask ( ) : void

Runs the scheduled task.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

SimpleScheduler() 공개 메소드

Initializes a new instance of the SimpleScheduler class.
public SimpleScheduler ( System.Action task, string timeToRun ) : System
task System.Action The task to run.
timeToRun string The time to run.
리턴 System

SimpleScheduler() 공개 메소드

Initializes a new instance of the SimpleScheduler class.
public SimpleScheduler ( System.Action task, string timeToRunTask, System.TimeSpan interval ) : System
task System.Action The task to run.
timeToRunTask string The time to run task.
interval System.TimeSpan The interval.
리턴 System

Start() 공개 메소드

Starts the scheduler.
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stops the scheduler.
public Stop ( ) : void
리턴 void