ConverterDiagramElement
Composite value of a complex object receiving element.
Inherits: TypedDiagramElement<ConverterDiagramElement>
Constructors
public ConverterDiagramElement()
converterDiagramElement = ConverterDiagramElement()
Initializes a new instance of the ConverterDiagramElement.
Properties
public override string IconName { get; }
value = converterDiagramElement.IconName
Icon resource name.
public string Property { get; set; }
value = converterDiagramElement.Property
converterDiagramElement.Property = value
Property.
public Type SourceIndicator { get; }
value = converterDiagramElement.SourceIndicator
Get source indicator if any.
public override Guid TypeId { get; }
value = converterDiagramElement.TypeId
The unique identifier of the diagram element type.
Methods
protected override void DisposeManaged()
converterDiagramElement.DisposeManaged()
Disposes the managed resources. Override this method to add custom clean up of managed resources.
protected override void OnInputSocketConnected(DiagramSocket socket, DiagramSocket source)
converterDiagramElement.OnInputSocketConnected(socket, source)
The method is called when the input socket is connected.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
protected override void OnInputSocketDisconnected(DiagramSocket socket, DiagramSocket source)
converterDiagramElement.OnInputSocketDisconnected(socket, source)
The method is called when the input socket is disconnected.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
protected override void OnLoading(SettingsStorage storage)
converterDiagramElement.OnLoading(storage)
Reads the state the parameters depend on; called before the parameters are loaded.
- storage
- Settings storage.
protected override void OnPrepare()
converterDiagramElement.OnPrepare()
To prepare for starting the diagram element algorithm.
protected override void OnProcess(DiagramSocketValue value)
converterDiagramElement.OnProcess(value)
The method is called at the processing of the new incoming value.
- value
- The processed value.
protected override void OnProcess(DateTime time, IDictionary<DiagramSocket, DiagramSocketValue> values, DiagramSocketValue source)
converterDiagramElement.OnProcess(time, values, source)
The method is called at the processing of the new incoming values.
- time
- Time.
- values
- Values.
- source
- Source value.
protected override void SaveState(SettingsStorage storage)
converterDiagramElement.SaveState(storage)
Saves the state of the element other than its parameters.
- storage
- Settings storage.
protected override void TypeChanged()
converterDiagramElement.TypeChanged()
The method is called when the data type is changed.