public int CompareTo(IVolumeUpdate other) { if (other is VolumeChanged c) { return(CompareTo(c)); } throw new ArgumentException(); }
public async Task WriteVolumeChanged(IVolumeUpdate e) { await WriteMessage(e.ToString()); }