DebuggerSyncObject
StockSharp.Diagram
The synchronization object for the composite elements debugger.
继承自: ViewModelBase
构造函数
DebuggerSyncObject(DiagramDebugger, CompositionDiagramElement, Func<DiagramSocket, bool>, Action<DebuggerSyncObject>, Action<DebuggerSyncObject>)
Initializes a new instance of the DebuggerSyncObject.
- debugger
- DiagramDebugger
- rootElement
- The root diagram element.
- isBreak
- The handler that returns a stop flag for the socket.
- breakAction
- The action with the element at stop.
- errorAction
- The action with the element at error.
属性
CurrentElement : DiagramElement
The current element.
CurrentError : Exception
The current error.
CurrentSocket : DiagramSocket
The current socket.
GuiWrapper : INotifyPropertyChanged
Gui wrapper for property binding.
IsWaitingOnInput : bool
, if the debugger is stopped at the entry of the diagram element. Otherwise, .
IsWaitingOnOutput : bool
, if the debugger is stopped at the exit of the diagram element. Otherwise, .
方法
Continue()
Continue.
DisposeManaged()
Release resources.
SetWaitOnNext()
To set the flag for waiting at the entry of the next diagram element.
TryWait(DiagramSocket, bool) : bool
Try wait on socket.
- socket
- DiagramSocket
- isOnInput
- Is wait on input.
返回值: Operation result.
TryWaitOnError(DiagramElement, Exception) : bool
Try wait on error.
- element
- DiagramElement
- error
- Error.
返回值: Operation result.