robokins.IRC.Message.ToString C# (CSharp) Méthode

ToString() public méthode

public ToString ( ) : string
Résultat string
        public override string ToString()
        {
            var buf = new StringBuilder(Client.BufferSize);
            buf.Append(':');
            buf.Append(User.ToString());
            buf.Append(' ');
            buf.Append(Notice ? Client.NOTICE : Client.PRIVMSG);
            buf.Append(' ');
            buf.Append(Target);
            buf.Append(' ');
            buf.Append(':');
            buf.Append(Text);
            if (buf.Length > Client.BufferSize)
                throw new ArgumentOutOfRangeException();
            return buf.ToString();
        }