TimerHandler

StockSharp.Algo.Strategies.Strategy

Implementação do manipulador de tempo.

Herda de: Disposable

Implementa: ITimerHandler, IDisposable

Propriedades

Interval
public TimeSpan Interval { get; set; }
value = timerHandler.Interval
timerHandler.Interval = value

Intervalo de tempo.

IsStarted
public bool IsStarted { get; }
value = timerHandler.IsStarted

Se o temporizador está a correr.

Métodos

DisposeManaged
protected override void DisposeManaged()
timerHandler.DisposeManaged()

Libertar recursos.

Start
public ITimerHandler Start()
result = timerHandler.Start()

Liga o cronómetro.

Retorna: ITimerHandler

Stop
public ITimerHandler Stop()
result = timerHandler.Stop()

Pára o temporizador.

Retorna: ITimerHandler