Exemplo n.º 1
0
            public override bool Equals(object obj)
            {
                if (obj == null || obj == DBNull.Value)
                {
                    return(false);
                }

                AugmentColumnValue other = (AugmentColumnValue)obj;

                return((mCurrentAugment == other.mCurrentAugment) && (mMaxAugment == other.mMaxAugment));
            }
Exemplo n.º 2
0
            public int CompareTo(object obj)
            {
                AugmentColumnValue other = (AugmentColumnValue)obj;
                int current_result       = mCurrentAugment.CompareTo(other.mCurrentAugment);

                if (current_result != 0)
                {
                    return(current_result);
                }
                return(mMaxAugment.CompareTo(other.mCurrentAugment));
            }