private void AssertEvent(ContinuedEvent @event) { Assert.NotNull(@event); Assert.Equal(DateTime.Parse("2016-06-10T14:32:03Z"), @event.Timestamp); Assert.Equal(EventName, @event.Event); Assert.Equal("2", @event.Part); }
internal ContinuedEvent InvokeEvent(ContinuedEvent arg) { if (_api.ValidateEvent(arg)) { Continued?.Invoke(_api, arg); } return(arg); }
/// <summary> /// <para>The event indicates that the execution of the debuggee has continued.</para> /// <para>Please note: a debug adapter is not expected to send this event in response to a request that implies that execution continues, e.g. ‘launch’ or ‘continue’.</para> /// <para>It is only necessary to send a ‘continued’ event if there was no previous request that implied this.</para> /// </summary> /// <param name="threadId"><para>The thread which was continued.</para></param> /// <param name="allThreadsContinued"><para>If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued.</para></param> public static void SendContinuedEvent(this ProtocolServer server, long threadId, bool?allThreadsContinued = null) { ContinuedEvent continuedEvent = new ContinuedEvent(new ContinuedEvent.ContinuedEventBody(threadId, allThreadsContinued)); server.SendMessage(continuedEvent); }
public void OnContinued() { ContinuedEvent?.Invoke(); }
void Connection_OnContinue() { ContinuedEvent?.Invoke(); }