public void Signal(ITvCommand cmd) { Console.WriteLine($"Sending signal- {cmd}"); SignalSent?.Invoke(this, cmd); Console.WriteLine($"Signal Complete- {cmd}"); }
private void OnSignalReceived(object sender, ITvCommand cmd) { cmd.Execute(this); }