Class DiagramDebugger
- Namespace
- StockSharp.Diagram
- Assembly
- StockSharp.Diagram.Core.dll
The debugger of the diagram composite element.
public class DiagramDebugger : IDebugger<DiagramSocket, DiagramElement>, IDebugger, IPersistable
- Inheritance
-
DiagramDebugger
- Implements
-
IDebuggerIPersistable
- Inherited Members
- Extension Methods
Constructors
DiagramDebugger(CompositionDiagramElement)
Initializes a new instance of the DiagramDebugger.
public DiagramDebugger(CompositionDiagramElement composition)
Parameters
composition
CompositionDiagramElementComposite element.
Properties
Breakpoints
Breakpoints (sockets, on which the data transmission will be stopped).
public IEnumerable<DiagramSocketBreakpoint> Breakpoints { get; }
Property Value
CanStepInto
public bool CanStepInto { get; }
Property Value
CanStepOut
public bool CanStepOut { get; }
Property Value
Composition
Composite element.
public CompositionDiagramElement Composition { get; }
Property Value
IsDisabled
public bool IsDisabled { get; set; }
Property Value
IsWaiting
public bool IsWaiting { get; }
Property Value
IsWaitingOnError
public bool IsWaitingOnError { get; }
Property Value
IsWaitingOnInput
public bool IsWaitingOnInput { get; }
Property Value
IsWaitingOnOutput
public bool IsWaitingOnOutput { get; }
Property Value
Methods
AddBreak(DiagramSocket)
To add a breakpoint in the socket.
public void AddBreak(DiagramSocket socket)
Parameters
socket
DiagramSocketSocket.
Continue()
Continue.
public void Continue()
IsBreak(DiagramSocket)
Whether the socket is the breakpoint.
public bool IsBreak(DiagramSocket socket)
Parameters
socket
DiagramSocketSocket.
Returns
Load(SettingsStorage)
Load settings.
public void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
RaiseChanged()
Call Changed event.
public void RaiseChanged()
RemoveAllBreaks()
Remove all breakpoints from the scheme.
public void RemoveAllBreaks()
RemoveBreak(DiagramSocket)
To remove the breakpoint from the socket.
public void RemoveBreak(DiagramSocket socket)
Parameters
socket
DiagramSocketSocket.
Save(SettingsStorage)
Save settings.
public void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
StepInto(DiagramElement)
To go inside the diagram composite element.
public void StepInto(DiagramElement composition)
Parameters
composition
DiagramElementComposite element.
StepNext()
To go to the next element.
public void StepNext()
StepOut(DiagramElement)
To exit from the diagram composite element.
public void StepOut(DiagramElement composition)
Parameters
composition
DiagramElementComposite element.
Events
Break
The event of the stop at the breakpoint.
public event Action<DiagramSocket> Break
Event Type
Changed
The event of changes breakpoints.
public event Action Changed
Event Type
CompositionChanged
The diagram composite element change event.
public event Action<CompositionDiagramElement> CompositionChanged
Event Type
Continued
public event Action Continued
Event Type
Error
The event of the stop at the error.
public event Action<DiagramElement> Error