internal IrcChannel(string name) { this.name = name; this.type = IrcChannelType.Unspecified; this.modes = new HashSet <char>(); this.modesReadOnly = new ReadOnlySet <char>(this.modes); this.users = new Collection <IrcChannelUser>(); this.usersReadOnly = new IrcChannelUserCollection(this, this.users); }
internal IrcChannel(string name) { Name = name; type = IrcChannelType.Unspecified; modes = new HashSet <char>(); Modes = new ReadOnlySet <char>(modes); users = new Collection <IrcChannelUser>(); Users = new IrcChannelUserCollection(this, users); }