C# 클래스 AccidentalFish.ApplicationSupport.Core.Policies.Implementation.AsynchronousRegularTimer

상속: IAsynchronousRegularTimer
파일 보기 프로젝트 열기: JamesRandall/AccidentalFish.ApplicationSupport 1 사용 예제들

공개 메소드들

메소드 설명
AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task

메소드 상세

AsynchronousRegularTimer() 공개 메소드

public AsynchronousRegularTimer ( ITimerThreadPoolExecuter threadPoolExecuter, IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
threadPoolExecuter ITimerThreadPoolExecuter
taskDelay IAsynchronousDelay
interval System.TimeSpan
delayOnExecute bool
리턴 System

ExecuteAsync() 공개 메소드

public ExecuteAsync ( Action action, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task
action Action
cancellationToken System.Threading.CancellationToken
shutdownAction System.Action
리턴 Task