CompositionDiagramElement
Composite element.
継承元: DiagramElement
コンストラクター
CompositionDiagramElement(ICompositionModel)
Initializes a new instance of the CompositionDiagramElement.
- model
- ICompositionModel
プロパティ
Elements : IEnumerable<DiagramElement>
Elements
HasUndoManager : bool
Check if undo manager is defined
IsUndoRedoing : bool
Whether undo/redo operation is in progress.
LastErrorElement : DiagramElement
The last error element.
Model : ICompositionModel
ICompositionModel
Parameters : IEnumerable<IDiagramElementParam>
Calculated parameters.
SchemaVersion : int
Schema version.
Strategy : DiagramStrategy
The strategy to which the element is attached.
メソッド
Clone(bool) : DiagramElement
Create a copy of CompositionDiagramElement.
- cloneSockets
- To create copies of connections.
戻り値: Copy.
ConnectedToSockets(DiagramSocket) : IEnumerable<DiagramSocket>
Other sockets if this one is connected.
- socket
- DiagramSocket
戻り値: Connected sockets.
CreateSocketInstance(DiagramSocketDirection, string) : DiagramSocket
Create new socket instance.
FindMarketDepthPanels() : IEnumerable<MarketDepthPanelDiagramElement>
Find all MarketDepthPanelDiagramElement.
FindPortfolios() : IEnumerable<Portfolio>
Find all portfolios in elements.
GetDescription() : string
Description.
GetDisplayName() : string
Display name.
OnInit()
The method is called at initialization of the diagram element.
OnPrepare()
To prepare for starting the diagram element algorithm.
OnProcess(DateTime, IDictionary<DiagramSocket, DiagramSocketValue>, DiagramSocketValue)
The method is called at the processing of the new incoming values.
- time
- Time.
- values
- Values.
- source
- Source value.
OnReseted()
It is called from the Reset method.
OnSocketConnected(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.
OnSocketDisconnected(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.
OnStop()
The method is called at the stop of the diagram element algorithm.
OnUnInit()
The method is called at deinitialization of the diagram element.
RaiseChanged()
Invoke Changed.
RaiseParameterValueChanged(string)
To call the ParameterValueChanged event.
- parameterName
- Parameter name.
RaiseStrategyChanged()
Invoke StrategyChanged.
Redo()
Restore the state of some models to after the current state.
ResumeUndoManager()
Resume undo/redo manager for Model.
SuspendUndoManager()
Suspend undo/redo manager for Model.
Undo()
Restore the state of some models to before the current state.
イベント
ElementAdded : Action<DiagramElement>
Child element added.
ElementRemoved : Action<DiagramElement>
Child element removed.
StrategyChanged : Action
Raised when strategy changed.