DebuggerSyncObject

StockSharp.Diagram

O objeto de sincronização para o depurador de elementos compostos.

Herda de: ViewModelBase

Construtores

DebuggerSyncObject
public DebuggerSyncObject(DiagramDebugger debugger, CompositionDiagramElement rootElement, Func<DiagramSocket, bool> isBreak, Action<DebuggerSyncObject> breakAction, Action<DebuggerSyncObject> errorAction)
debuggerSyncObject = DebuggerSyncObject(debugger, rootElement, isBreak, breakAction, errorAction)

Inicializa uma nova instância do DebuggerSyncObject.

debugger
DiagramDebugger
rootElement
O elemento do diagrama da raiz.
isBreak
O manipulador que devolve uma bandeira de paragem para o soquete.
breakAction
A ação com o elemento na parada.
errorAction
A ação com o elemento em erro.

Propriedades

CurrentElement
public DiagramElement CurrentElement { get; private set; }
value = debuggerSyncObject.CurrentElement
debuggerSyncObject.CurrentElement = value

O elemento atual.

CurrentError
public Exception CurrentError { get; private set; }
value = debuggerSyncObject.CurrentError
debuggerSyncObject.CurrentError = value

O erro atual.

CurrentSocket
public DiagramSocket CurrentSocket { get; private set; }
value = debuggerSyncObject.CurrentSocket
debuggerSyncObject.CurrentSocket = value

A tomada actual.

GuiWrapper
public INotifyPropertyChanged GuiWrapper { get; }
value = debuggerSyncObject.GuiWrapper

Embalagem Gui para ligação de propriedade.

IsWaitingOnInput
public bool IsWaitingOnInput { get; private set; }
value = debuggerSyncObject.IsWaitingOnInput
debuggerSyncObject.IsWaitingOnInput = value

, se o depurador for parado na entrada do elemento diagrama. Caso contrário, .

IsWaitingOnOutput
public bool IsWaitingOnOutput { get; private set; }
value = debuggerSyncObject.IsWaitingOnOutput
debuggerSyncObject.IsWaitingOnOutput = value

, se o depurador for parado na saída do elemento diagrama. Caso contrário, .

Métodos

Continue
public void Continue()
debuggerSyncObject.Continue()

Continua.

DisposeManaged
protected override void DisposeManaged()
debuggerSyncObject.DisposeManaged()

Libertar recursos.

SetWaitOnNext
public void SetWaitOnNext()
debuggerSyncObject.SetWaitOnNext()

Para definir a bandeira para esperar na entrada do próximo elemento diagrama.

TryWait
public bool TryWait(DiagramSocket socket, bool isOnInput)
result = debuggerSyncObject.TryWait(socket, isOnInput)

Tenta esperar na tomada.

socket
DiagramSocket
isOnInput
É esperar a entrada.

Retorna: Resultado da operação.

TryWaitOnError
public bool TryWaitOnError(DiagramElement element, Exception error)
result = debuggerSyncObject.TryWaitOnError(element, error)

Tente esperar no erro.

element
DiagramElement
error
Erro.

Retorna: Resultado da operação.