Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 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);
 }