Пример #1
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("ContactModification(");
        bool __first = true;

        if (__isset.type)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Type: ");
            Type.ToString(sb);
        }
        if (Luid != null && __isset.luid)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Luid: ");
            Luid.ToString(sb);
        }
        if (Phones != null && __isset.phones)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Phones: ");
            Phones.ToString(sb);
        }
        if (Emails != null && __isset.emails)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Emails: ");
            Emails.ToString(sb);
        }
        if (Userids != null && __isset.userids)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("Userids: ");
            Userids.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }
Пример #2
0
 public override string ToString()
 {
     return(ID + " " +
            Name + " " +
            Firstname + " " +
            Lastname + " " +
            DisplayName + " " +
            Phones.ToString());
 }