TypedDiagramElement
StockSharp.Diagram.Elements
The diagram element with the changeable data type.
Inherits: DiagramElement
Constructors
TypedDiagramElement(string, bool)
Initializes a new instance of the TypedDiagramElement.
- typeParamCategory
- The category of the diagram element parameter.
- ignoreHandler
Properties
OutputSocket : DiagramSocket
Output socket.
Type : DiagramSocketType
Data type.
Methods
InputSocketConnected(DiagramSocket, DiagramSocket)
The method is called at subscription to the processing of diagram element output values.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
InputSocketDisconnected(DiagramSocket, DiagramSocket)
The method is called at unsubscription from the processing of diagram element output values.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
OnInputSocketConnected(DiagramSocket, DiagramSocket)
The method is called when the input socket is connected.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
OnInputSocketDisconnected(DiagramSocket, DiagramSocket)
The method is called when the input socket is disconnected.
- socket
- The diagram element socket.
- source
- The source diagram element socket.
OnProcess(DiagramSocketValue)
The method is called at the processing of the new incoming value.
- value
- The processed value.
TypeChanged()
The method is called when the data type is changed.
UpdateOutputSocketType()
To change the output socket type.