Пример #1
0
        public int Compare(EnumListValue other)
        {
            var chkCode        = this.Code == other.Code;
            var chkDescription = this.Description == other.Description;

            return(chkCode && chkDescription ? 1 : 0);
        }
Пример #2
0
        public override int CompareTo(DCAnalyticsObject other)
        {
            EnumListValue inItem = other as EnumListValue;

            if (this.Code.Equals(inItem.Code) && this.Description.Equals(inItem.Description))
            {
                return(1);
            }
            return(0);
        }
Пример #3
0
 public SkipCondition(DCAnalyticsObject parent)
     : base(parent)
 {
     Answer = new EnumListValue(null);
     Init();
 }
Пример #4
0
 internal override void SetOriginal()
 {
     _original = Copy() as EnumListValue;
 }