Пример #1
0
        public void SendEvent(string command, IDAPMessagePayload body)
        {
            var reply = new DAPEvent
            {
                type   = "event",
                @event = command,
                body   = body
            };

            Send(reply);
        }
Пример #2
0
 private void HandleEvent(DAPEvent evt)
 {
     throw new InvalidOperationException($"Unsupported DAP event: {evt.@event}");
 }