Пример #1
0
        public override int CompareTo(DCAnalyticsObject other)
        {
            int result = 0;
            ValidationCondition condition = other as ValidationCondition;

            if (Qualifier != condition.Qualifier && ValidationValue != condition.ValidationValue)
            {
                result = 0;
            }
            else
            {
                result = 1;
            }
            return(result);
        }
Пример #2
0
 protected void SetOriginalValues()
 {
     OriginalValues = (ValidationCondition)Copy();
     ObjectState    = ObjectStates.None;
 }