public static void RemoveChannel(IChatLogChannel channel) { if (channels.Contains(channel)) { channels.Remove(channel); } }
public static void AddChannel(IChatLogChannel channel) { if (channels == null) { channels = new List <IChatLogChannel>(); } channels.Add(channel); }