Beispiel #1
0
        public override int GetHashCode()
        {
            int hashcode = 157;

            unchecked {
                if ((B1 != null) && __isset.b1)
                {
                    hashcode = (hashcode * 397) + B1.GetHashCode();
                }
                if ((B10 != null) && __isset.b10)
                {
                    hashcode = (hashcode * 397) + B10.GetHashCode();
                }
                if ((B100 != null) && __isset.b100)
                {
                    hashcode = (hashcode * 397) + B100.GetHashCode();
                }
                if (__isset.check_true)
                {
                    hashcode = (hashcode * 397) + Check_true.GetHashCode();
                }
                if ((B1000 != null) && __isset.b1000)
                {
                    hashcode = (hashcode * 397) + B1000.GetHashCode();
                }
                if (__isset.check_false)
                {
                    hashcode = (hashcode * 397) + Check_false.GetHashCode();
                }
                if ((Vertwo2000 != null) && __isset.vertwo2000)
                {
                    hashcode = (hashcode * 397) + Vertwo2000.GetHashCode();
                }
                if ((A_set2500 != null) && __isset.a_set2500)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(A_set2500);
                }
                if ((Vertwo3000 != null) && __isset.vertwo3000)
                {
                    hashcode = (hashcode * 397) + Vertwo3000.GetHashCode();
                }
                if ((Big_numbers != null) && __isset.big_numbers)
                {
                    hashcode = (hashcode * 397) + TCollections.GetHashCode(Big_numbers);
                }
            }
            return(hashcode);
        }
Beispiel #2
0
        public override string ToString()
        {
            var sb     = new StringBuilder("LargeDeltas(");
            int tmp116 = 0;

            if ((B1 != null) && __isset.b1)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("B1: ");
                B1.ToString(sb);
            }
            if ((B10 != null) && __isset.b10)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("B10: ");
                B10.ToString(sb);
            }
            if ((B100 != null) && __isset.b100)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("B100: ");
                B100.ToString(sb);
            }
            if (__isset.check_true)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("Check_true: ");
                Check_true.ToString(sb);
            }
            if ((B1000 != null) && __isset.b1000)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("B1000: ");
                B1000.ToString(sb);
            }
            if (__isset.check_false)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("Check_false: ");
                Check_false.ToString(sb);
            }
            if ((Vertwo2000 != null) && __isset.vertwo2000)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("Vertwo2000: ");
                Vertwo2000.ToString(sb);
            }
            if ((A_set2500 != null) && __isset.a_set2500)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("A_set2500: ");
                A_set2500.ToString(sb);
            }
            if ((Vertwo3000 != null) && __isset.vertwo3000)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("Vertwo3000: ");
                Vertwo3000.ToString(sb);
            }
            if ((Big_numbers != null) && __isset.big_numbers)
            {
                if (0 < tmp116++)
                {
                    sb.Append(", ");
                }
                sb.Append("Big_numbers: ");
                Big_numbers.ToString(sb);
            }
            sb.Append(')');
            return(sb.ToString());
        }