Class DebuggerSyncObject
- Namespace
- StockSharp.Diagram
- Assembly
- StockSharp.Diagram.Core.dll
The synchronization object for the composite elements debugger.
public class DebuggerSyncObject : ViewModelBase
- Inheritance
-
DebuggerSyncObject
- Extension Methods
Constructors
DebuggerSyncObject(CompositionDiagramElement, Func<DiagramSocket, bool>, Action<DebuggerSyncObject>, Action<DebuggerSyncObject>)
Initializes a new instance of the DebuggerSyncObject.
public DebuggerSyncObject(CompositionDiagramElement rootElement, Func<DiagramSocket, bool> isBreak, Action<DebuggerSyncObject> breakAction, Action<DebuggerSyncObject> errorAction)
Parameters
rootElement
CompositionDiagramElementThe root diagram element.
isBreak
Func<DiagramSocket, bool>The handler that returns a stop flag for the socket.
breakAction
Action<DebuggerSyncObject>The action with the element at stop.
errorAction
Action<DebuggerSyncObject>The action with the element at error.
Properties
CurrentElement
The current element.
public DiagramElement CurrentElement { get; }
Property Value
CurrentError
The current error.
public Exception CurrentError { get; }
Property Value
CurrentSocket
The current socket.
public DiagramSocket CurrentSocket { get; }
Property Value
GuiWrapper
Gui wrapper for property binding.
public INotifyPropertyChanged GuiWrapper { get; }
Property Value
IsWaitingOnInput
public bool IsWaitingOnInput { get; }
Property Value
IsWaitingOnOutput
public bool IsWaitingOnOutput { get; }
Property Value
Methods
Continue()
Continue.
public void Continue()
DisposeManaged()
protected override void DisposeManaged()
SetWaitOnNext()
To set the flag for waiting at the entry of the next diagram element.
public void SetWaitOnNext()
TryWait(DiagramSocket, bool)
Try wait on socket.
public bool TryWait(DiagramSocket socket, bool isOnInput)
Parameters
socket
DiagramSocketisOnInput
boolIs wait on input.
Returns
- bool
Operation result.
TryWaitOnError(DiagramElement, Exception)
Try wait on error.
public bool TryWaitOnError(DiagramElement element, Exception error)
Parameters
element
DiagramElementerror
ExceptionError.
Returns
- bool
Operation result.