Table of Contents

Class RandomDiagramElement

Namespace
StockSharp.Diagram.Elements
Assembly
StockSharp.Diagram.Core.dll

Random value element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Random", Description = "RandomElement", GroupName = "Common")]
public class RandomDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
RandomDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

RandomDiagramElement()

Initializes a new instance of the RandomDiagramElement.

public RandomDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Max

Minumum.

public decimal Max { get; set; }

Property Value

decimal

Min

Minumum.

public decimal Min { get; set; }

Property Value

decimal

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

Flush(DateTimeOffset)

Flush non trigger (root) elements.

public override void Flush(DateTimeOffset time)

Parameters

time DateTimeOffset

OnStart(DateTimeOffset)

The method is called at the start of the diagram element algorithm.

protected override void OnStart(DateTimeOffset time)

Parameters

time DateTimeOffset