Squishy.Irc.IrcClient.GetUsers C# (CSharp) Method

GetUsers() public method

Loops through all Users to find those who match the given mask.
public GetUsers ( string mask ) : Squishy.Irc.IrcUser[]
mask string The mask of the users that are to be found.
return Squishy.Irc.IrcUser[]
        public IrcUser[] GetUsers(string mask)
        {
            var users = new ArrayList();
            foreach (IrcUser user in m_Users.Values)
                if (user.Matches(mask))
                    users.Add(user);
            return (IrcUser[])users.ToArray(typeof(IrcUser));
        }