Squishy.Irc.IrcClient.HasChanMode C# (CSharp) Метод

HasChanMode() публичный Метод

Indicates wether or not the current Irc Network offers the specified Channel modes - Independent on the sequence.
public HasChanMode ( string modes ) : bool
modes string A sequence of chars, representing Channel modes
Результат bool
        public bool HasChanMode(string modes)
        {
            foreach (char c in modes)
                if (m_CModes.IndexOf(c) < 0)
                    return false;
            return true;
        }