Пример #1
0
 public Channel(string name, string shortName, Color colour, ChannelModes modes)
 {
     Name = name;
     ShortName = shortName;
     Colour = colour;
     Modes = modes;
     Users = new List<ChannelUser>();
 }
Пример #2
0
 public static ChannelModes ModesFromString(string modes)
 {
     ChannelModes ret = new ChannelModes();
     for (int i = 0; i < modes.Length; i++)
     {
         ret.AddMode(modes[i]);
     }
     return ret;
 }