public int Compare(EnumListValue other) { var chkCode = this.Code == other.Code; var chkDescription = this.Description == other.Description; return(chkCode && chkDescription ? 1 : 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); }
public SkipCondition(DCAnalyticsObject parent) : base(parent) { Answer = new EnumListValue(null); Init(); }
internal override void SetOriginal() { _original = Copy() as EnumListValue; }