コード例 #1
0
 public static void RemoveChannel(IChatLogChannel channel)
 {
     if (channels.Contains(channel))
     {
         channels.Remove(channel);
     }
 }
コード例 #2
0
 public static void AddChannel(IChatLogChannel channel)
 {
     if (channels == null)
     {
         channels = new List <IChatLogChannel>();
     }
     channels.Add(channel);
 }