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.
public override void Load(SettingsStorage storage)
converterDiagramElement.Load(storage)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
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 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.
public override void Save(SettingsStorage storage)
converterDiagramElement.Save(storage)
Saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.
protected override void TypeChanged()
converterDiagramElement.TypeChanged()
The method is called when the data type is changed.