private void ChannelsHubSignalRClient_ChannelLeft(object _, ChannelLeftEventArgs e) { if (string.Equals(e.ChannelName, CurrentlySelectedChannelName, StringComparison.OrdinalIgnoreCase)) { Channel.ShouldListen = false; NotifyStateChanged(); } }
private void ChannelsHubSignalRClient_ChannelLeft(object _, ChannelLeftEventArgs e) { UpdateConnectedStateForChannels(e.ChannelName, false); NotifyStateChanged(); }