WpfScheduler

StockSharp.Xaml

Task scheduler used WPF timer.

Inherits: Disposable

Constructors

WpfScheduler
public WpfScheduler(IEnumerable<TTask> tasks)
wpfScheduler = WpfScheduler(tasks)

Initializes a new instance of the WpfScheduler.

tasks
Tasks.

Properties

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

Interval.

Methods

DisposeManaged
protected override void DisposeManaged()
wpfScheduler.DisposeManaged()

Release resources.

Start
public void Start()
wpfScheduler.Start()

Start.

Stop
public void Stop()
wpfScheduler.Stop()

Stop.

Events

Starting
public event Action<IEnumerable<TTask>> Starting
wpfScheduler.Starting += handler

Starting tasks event.

Stopping
public event Action<IEnumerable<TTask>> Stopping
wpfScheduler.Stopping += handler

Stopping tasks event.