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

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

공개 메소드들

메소드 설명
AsynchronousIntervalTimer ( IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
ExecuteAsync ( Func function, System.Action shutdownAction = null ) : Task
ExecuteAsync ( Func function, CancellationToken cancellationToken, System.Action shutdownAction = null ) : Task

메소드 상세

AsynchronousIntervalTimer() 공개 메소드

public AsynchronousIntervalTimer ( IAsynchronousDelay taskDelay, System.TimeSpan interval, bool delayOnExecute ) : System
taskDelay IAsynchronousDelay
interval System.TimeSpan
delayOnExecute bool
리턴 System

ExecuteAsync() 공개 메소드

public ExecuteAsync ( Func function, System.Action shutdownAction = null ) : Task
function Func
shutdownAction System.Action
리턴 Task

ExecuteAsync() 공개 메소드

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