コード例 #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}");
 }