ToString() public méthode

public ToString ( ) : string
Résultat string
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder("SnsFriendContactRegistration(");

            sb.Append("Contact: ");
            sb.Append(Contact == null ? "<null>" : Contact.ToString());
            sb.Append(",SnsIdType: ");
            sb.Append(SnsIdType);
            sb.Append(",SnsUserId: ");
            sb.Append(SnsUserId);
            sb.Append(")");
            return(sb.ToString());
        }
Exemple #2
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder("ContactRegistration(");

            sb.Append("Contact: ");
            sb.Append(Contact == null ? "<null>" : Contact.ToString());
            sb.Append(",Luid: ");
            sb.Append(Luid);
            sb.Append(",ContactType: ");
            sb.Append(ContactType);
            sb.Append(",ContactKey: ");
            sb.Append(ContactKey);
            sb.Append(")");
            return(sb.ToString());
        }