DummyDispatcher
Ecng.ComponentModel
Dummy dispatcher.
Implementa: IDispatcher
Propiedades
CurrentTimerInterval
public TimeSpan CurrentTimerInterval { get; }
value = dummyDispatcher.CurrentTimerInterval
Current interval at which the underlying timer fires; Zero when no periodic actions are registered. Useful for diagnostics.
PeriodicActionCount
public int PeriodicActionCount { get; }
value = dummyDispatcher.PeriodicActionCount
Number of periodic actions currently registered with this dispatcher.
Métodos
Invoke
public void Invoke(Action action)
dummyDispatcher.Invoke(action)
Call action in dispatcher thread.
- action
- Action.