C# Класс VS_QuickNavigation.Utils.DeferredAction

Represents a timer which performs an action on the UI thread when time elapses. Rescheduling is supported.
Наследование: IDisposable
Показать файл Открыть проект

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

Метод Описание
Create ( System.Action action ) : DeferredAction

Creates a new DeferredAction.

Defer ( int milliseconds ) : void

Defers performing the action until after time elapses. Repeated calls will reschedule the action if it has not already been performed.

Dispose ( ) : void

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

Метод Описание
DeferredAction ( System.Action action ) : System

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

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

Creates a new DeferredAction.
public static Create ( System.Action action ) : DeferredAction
action System.Action /// The action that will be deferred. It is not performed until after is called. ///
Результат DeferredAction

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

Defers performing the action until after time elapses. Repeated calls will reschedule the action if it has not already been performed.
public Defer ( int milliseconds ) : void
milliseconds int /// The amount of time to wait before performing the action. ///
Результат void

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

public Dispose ( ) : void
Результат void