private void WriteCommand <T>(T data, [CallerMemberName] string command = "") { SessionLog.WriteLine($"Sending {command} to debuggee"); var dto = RpcCall.Create(nameof(IDebuggerService), command, data); _commandsChannel.Write(dto); }
public void Write(object data) { if (_connectedChannel == null) { throw new InvalidOperationException("No client connected"); } _connectedChannel.Write(data); }