C# Класс AccidentalFish.ApplicationSupport.Core.Policies.Implementation.AsynchronousRegularTimer

Наследование: IAsynchronousRegularTimer
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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