C# Класс WebApplications.Utilities.Threading.AsyncDebouncedAction

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

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

Метод Описание
AsyncDebouncedAction ( Task>.[ action, System.Duration duration, System.Duration minimumGap = default(Duration) ) : NodaTime

Initializes a new instance of the AsyncDebouncedAction class.

AsyncDebouncedAction ( Task>.[ action, System.TimeSpan duration = default(TimeSpan), System.TimeSpan minimumGap = default(TimeSpan) ) : NodaTime

Initializes a new instance of the AsyncDebouncedAction class.

AsyncDebouncedAction ( [ action, System.Duration duration, System.Duration minimumGap = default(Duration) ) : NodaTime

Initializes a new instance of the AsyncDebouncedAction class.

AsyncDebouncedAction ( [ action, System.TimeSpan duration = default(TimeSpan), System.TimeSpan minimumGap = default(TimeSpan) ) : NodaTime

Initializes a new instance of the AsyncDebouncedAction class.

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

Метод Описание
Run ( CancellationToken token = default(CancellationToken) ) : Task

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

AsyncDebouncedAction() публичный Метод

Initializes a new instance of the AsyncDebouncedAction class.
public AsyncDebouncedAction ( Task>.[ action, System.Duration duration, System.Duration minimumGap = default(Duration) ) : NodaTime
action Task>.[ The action.
duration System.Duration The duration is the amount of time the result of a successful execution is held, after the point a successful request was made.
minimumGap System.Duration The minimum gap, is the time left after a successful execution before the action can be run again.
Результат NodaTime

AsyncDebouncedAction() публичный Метод

Initializes a new instance of the AsyncDebouncedAction class.
public AsyncDebouncedAction ( Task>.[ action, System.TimeSpan duration = default(TimeSpan), System.TimeSpan minimumGap = default(TimeSpan) ) : NodaTime
action Task>.[ The action.
duration System.TimeSpan The duration is the amount of time the result of a successful execution is held, after the point a successful request was made.
minimumGap System.TimeSpan The minimum gap, is the time left after a successful execution before the action can be run again.
Результат NodaTime

AsyncDebouncedAction() публичный Метод

Initializes a new instance of the AsyncDebouncedAction class.
public AsyncDebouncedAction ( [ action, System.Duration duration, System.Duration minimumGap = default(Duration) ) : NodaTime
action [ The action.
duration System.Duration The duration is the amount of time the result of a successful execution is held, after the point a successful request was made.
minimumGap System.Duration The minimum gap, is the time left after a successful execution before the action can be run again.
Результат NodaTime

AsyncDebouncedAction() публичный Метод

Initializes a new instance of the AsyncDebouncedAction class.
public AsyncDebouncedAction ( [ action, System.TimeSpan duration = default(TimeSpan), System.TimeSpan minimumGap = default(TimeSpan) ) : NodaTime
action [ The action.
duration System.TimeSpan The duration is the amount of time the result of a successful execution is held, after the point a successful request was made.
minimumGap System.TimeSpan The minimum gap, is the time left after a successful execution before the action can be run again.
Результат NodaTime