Table of Contents

Class PreviousValueDiagramElement

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

Previous value receiving element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "PreviousValue", Description = "PreviousValueElement", GroupName = "Common")]
public class PreviousValueDiagramElement : TypedDiagramElement<PreviousValueDiagramElement>, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
PreviousValueDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

PreviousValueDiagramElement()

Initializes a new instance of the PreviousValueDiagramElement.

public PreviousValueDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

Shift

Shift.

public int Shift { get; set; }

Property Value

int

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

OnPrepare()

To prepare for starting the diagram element algorithm.

protected override void OnPrepare()

OnProcess(DiagramSocketValue)

The method is called at the processing of the new incoming value.

protected override void OnProcess(DiagramSocketValue value)

Parameters

value DiagramSocketValue

The processed value.

OnReseted()

The method is called at re-initialisation of the diagram element state.

protected override void OnReseted()

TypeChanged()

The method is called when the data type is changed.

protected override void TypeChanged()