Exemplo n.º 1
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.field_id)
            {
                hashcode = (hashcode * 397) + Field_id.GetHashCode();
            }
            if (__isset.v_int64)
            {
                hashcode = (hashcode * 397) + V_int64.GetHashCode();
            }
            if (__isset.v_double)
            {
                hashcode = (hashcode * 397) + V_double.GetHashCode();
            }
            if ((V_bytes != null) && __isset.v_bytes)
            {
                hashcode = (hashcode * 397) + V_bytes.GetHashCode();
            }
            if ((V_key != null) && __isset.v_key)
            {
                hashcode = (hashcode * 397) + V_key.GetHashCode();
            }
            if ((V_li != null) && __isset.v_li)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(V_li);
            }
            if ((V_lb != null) && __isset.v_lb)
            {
                hashcode = (hashcode * 397) + TCollections.GetHashCode(V_lb);
            }
        }
        return(hashcode);
    }
Exemplo n.º 2
0
    public override int GetHashCode()
    {
        int hashcode = 157;

        unchecked {
            if (__isset.field_id)
            {
                hashcode = (hashcode * 397) + Field_id.GetHashCode();
            }
            if ((Spec_int64 != null) && __isset.spec_int64)
            {
                hashcode = (hashcode * 397) + Spec_int64.GetHashCode();
            }
            if ((Spec_double != null) && __isset.spec_double)
            {
                hashcode = (hashcode * 397) + Spec_double.GetHashCode();
            }
            if ((Spec_bytes != null) && __isset.spec_bytes)
            {
                hashcode = (hashcode * 397) + Spec_bytes.GetHashCode();
            }
            if ((Spec_key != null) && __isset.spec_key)
            {
                hashcode = (hashcode * 397) + Spec_key.GetHashCode();
            }
            if ((Spec_li != null) && __isset.spec_li)
            {
                hashcode = (hashcode * 397) + Spec_li.GetHashCode();
            }
            if ((Spec_lb != null) && __isset.spec_lb)
            {
                hashcode = (hashcode * 397) + Spec_lb.GetHashCode();
            }
        }
        return(hashcode);
    }
Exemplo n.º 3
0
    public override string ToString()
    {
        var tmp258 = new StringBuilder("CellValueSerial(");
        int tmp259 = 0;

        if (__isset.field_id)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("Field_id: ");
            Field_id.ToString(tmp258);
        }
        if (__isset.v_int64)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_int64: ");
            V_int64.ToString(tmp258);
        }
        if (__isset.v_double)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_double: ");
            V_double.ToString(tmp258);
        }
        if ((V_bytes != null) && __isset.v_bytes)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_bytes: ");
            V_bytes.ToString(tmp258);
        }
        if ((V_key != null) && __isset.v_key)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_key: ");
            V_key.ToString(tmp258);
        }
        if ((V_li != null) && __isset.v_li)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_li: ");
            V_li.ToString(tmp258);
        }
        if ((V_lb != null) && __isset.v_lb)
        {
            if (0 < tmp259++)
            {
                tmp258.Append(", ");
            }
            tmp258.Append("V_lb: ");
            V_lb.ToString(tmp258);
        }
        tmp258.Append(')');
        return(tmp258.ToString());
    }
Exemplo n.º 4
0
    public override string ToString()
    {
        var tmp176 = new StringBuilder("SpecValueSerialField(");
        int tmp177 = 0;

        if (__isset.field_id)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Field_id: ");
            Field_id.ToString(tmp176);
        }
        if ((Spec_int64 != null) && __isset.spec_int64)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_int64: ");
            Spec_int64.ToString(tmp176);
        }
        if ((Spec_double != null) && __isset.spec_double)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_double: ");
            Spec_double.ToString(tmp176);
        }
        if ((Spec_bytes != null) && __isset.spec_bytes)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_bytes: ");
            Spec_bytes.ToString(tmp176);
        }
        if ((Spec_key != null) && __isset.spec_key)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_key: ");
            Spec_key.ToString(tmp176);
        }
        if ((Spec_li != null) && __isset.spec_li)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_li: ");
            Spec_li.ToString(tmp176);
        }
        if ((Spec_lb != null) && __isset.spec_lb)
        {
            if (0 < tmp177++)
            {
                tmp176.Append(", ");
            }
            tmp176.Append("Spec_lb: ");
            Spec_lb.ToString(tmp176);
        }
        tmp176.Append(')');
        return(tmp176.ToString());
    }