Squishy.Irc.IrcClient.GetSymbolForFlag C# (CSharp) Méthode

GetSymbolForFlag() public méthode

Returns the symbol for the specified flag ("@" would usually be the symbol for "o" e.g.).
public GetSymbolForFlag ( char flag ) : char
flag char
Résultat char
        public char GetSymbolForFlag(char flag)
        {
            int i = m_CPrefixes.IndexOf(flag);
            if (i >= 0)
            {
                return m_CSymbols[i];
            }
            return (char)0;
        }