Show / Hide Table of Contents

Class WpfScheduler<TTask>

Task scheduler used WPF timer.

Inheritance
Object
WpfScheduler<TTask>
Namespace: StockSharp.Xaml
Assembly: StockSharp.Xaml.dll
Syntax
public class WpfScheduler<TTask> : Disposable where TTask : IScheduledTask
Type Parameters
Name Description
TTask

Constructors

WpfScheduler(IEnumerable<TTask>)

Создать WpfScheduler<TTask>.

Declaration
public WpfScheduler(IEnumerable<TTask> tasks)
Parameters
Type Name Description
IEnumerable<TTask> tasks

Tasks.

Properties

Interval

Interval.

Declaration
public TimeSpan Interval { get; set; }
Property Value
Type Description
TimeSpan
Remarks

By default is 30 second.

Methods

DisposeManaged()

Освободить занятые ресурсы.

Declaration
protected override void DisposeManaged()

Start()

Start.

Declaration
public void Start()

Stop()

Stop.

Declaration
public void Stop()

Events

Starting

Starting tasks event.

Declaration
public event Action<IEnumerable<TTask>> Starting
Event Type
Type Description
Action<IEnumerable<TTask>>

Stopping

Stopping tasks event.

Declaration
public event Action<IEnumerable<TTask>> Stopping
Event Type
Type Description
Action<IEnumerable<TTask>>

Extension Methods

Paths.Serialize<T>(T, String)
Paths.Serialize<T>(T)
EditorExtensions.ToItemsSource(Object, Type, Nullable<Boolean>, Nullable<ListSortDirection>, Func<IItemsSourceItem, Boolean>, Func<Object, String>, Func<Object, String>)
XamlHelper.WpfCast<T>(Object)
XamlHelper.CopyToClipboard<T>(T)
XamlHelper.EnsureUIThread(Object)
☀
☾
In This Article
Back to top
Copyright © StockSharp.
☀
☾