Class ConverterDiagramElement
- Namespace
- StockSharp.Diagram.Elements
- Assembly
- StockSharp.Diagram.Core.dll
Composite value of a complex object receiving element.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Converter", Description = "ConverterDescription", GroupName = "Common")]
public class ConverterDiagramElement : TypedDiagramElement<ConverterDiagramElement>, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
- Inheritance
-
ConverterDiagramElement
- Implements
-
INotifyPropertiesChangedIPersistable
- Inherited Members
- Extension Methods
Constructors
ConverterDiagramElement()
Initializes a new instance of the ConverterDiagramElement.
public ConverterDiagramElement()
Properties
IconName
Icon resource name.
public override string IconName { get; }
Property Value
Property
Property.
public string Property { get; set; }
Property Value
SourceIndicator
Get source indicator if any.
public Type SourceIndicator { get; }
Property Value
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }
Property Value
Methods
DisposeManaged()
protected override void DisposeManaged()
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnInputSocketConnected(DiagramSocket, DiagramSocket)
The method is called when the input socket is connected.
protected override void OnInputSocketConnected(DiagramSocket socket, DiagramSocket source)
Parameters
socket
DiagramSocketThe diagram element socket.
source
DiagramSocketThe source diagram element socket.
OnInputSocketDisconnected(DiagramSocket, DiagramSocket)
The method is called when the input socket is disconnected.
protected override void OnInputSocketDisconnected(DiagramSocket socket, DiagramSocket source)
Parameters
socket
DiagramSocketThe diagram element socket.
source
DiagramSocketThe source diagram element socket.
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
DiagramSocketValueThe processed value.
OnProcess(DateTimeOffset, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
The method is called at the processing of the new incoming values.
protected override void OnProcess(DateTimeOffset time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
Parameters
time
DateTimeOffsetTime.
values
IDictionary<DiagramSocket, DiagramSocketValue>Values.
source
DiagramSocketValueSource value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
TypeChanged()
The method is called when the data type is changed.
protected override void TypeChanged()