public UiChannel(Channel channel, Network network) { Channel = channel; Network = network; channel.TopicChange += ChannelOnTopicChange; channel.ModeAdd += ChannelOnModeAdd; channel.ModeRemove += ChannelOnModeRemove; Name = channel.Name; Lines = new ObservableCollection<ChatLine>(); }
public UserRank GetRank(Channel channel) { return GetRank(channel.Name); }