ToString() public method

public ToString ( ) : string
return 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());
        }
示例#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());
        }