DeferredUIAction
Ecng.Xaml
Executes an action on the UI thread no more frequently than a specified interval, with optional extra delay.
Конструкторы
DeferredUIAction(Action, TimeSpan, TimeSpan?)
Initializes a new instance of the DeferredUIAction class.
- action
- The action to execute.
- minInterval
- The minimum time between consecutive executions.
- delayBy
- Optional additional delay applied from the last request; must be less than or equal to .
Свойства
Методы
Execute()
Requests execution of the action honoring throttling constraints; the action will run on the UI thread.