C# Класс Taskular.RepeatExtensions

Показать файл Открыть проект

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

Метод Описание
Repeat ( this composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, System.TimeSpan initialDelay, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer

Retry a task composition using the specified retry policy

Repeat ( this composer, int millisecondsInitialDelay, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer

Retry a task composition using the specified retry policy

Приватные методы

Метод Описание
Attempt ( Composer composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken ) : void

Описание методов

Repeat() публичный статический Метод

Retry a task composition using the specified retry policy
public static Repeat ( this composer, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer
composer this The task composer
interval System.TimeSpan The interval between each repetition
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken A cancellation token for the repeat-portion of the task composer
Результат Composer

Repeat() публичный статический Метод

Retry a task composition using the specified retry policy
public static Repeat ( this composer, System.TimeSpan initialDelay, System.TimeSpan interval, Action callback, CancellationToken repeatCancellationToken = default(CancellationToken) ) : Composer
composer this The task composer
initialDelay System.TimeSpan The initial delay before the first execution
interval System.TimeSpan The interval between each repetition
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken A cancellation token for the repeat-portion of the task composer
Результат Composer

Repeat() публичный статический Метод

Retry a task composition using the specified retry policy
public static Repeat ( this composer, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer
composer this The task composer
millisecondsInterval int
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken
Результат Composer

Repeat() публичный статический Метод

Retry a task composition using the specified retry policy
public static Repeat ( this composer, int millisecondsInitialDelay, int millisecondsInterval, Action callback, CancellationToken repeatCancellationToken ) : Composer
composer this The task composer
millisecondsInitialDelay int The initial delay before the first execution in milliseconds
millisecondsInterval int
callback Action The task composition callback
repeatCancellationToken System.Threading.CancellationToken
Результат Composer