コード例 #1
0
        public override bool Equals(object obj)
        {
            ArguedLearnableExample otc = obj as ArguedLearnableExample;

            return(otc != null &&
                   (base.Equals(otc) && _becauseExpression.Equals(otc.BecauseExpression) &&
                    (HasDespitePart && otc.HasDespitePart && _despiteExpression.Equals(otc.DespiteExpression))));
        }
コード例 #2
0
 public ArguedLearnableExample(ArguedLearnableExample sample) : base(sample)
 {
     _becauseExpression = sample.BecauseExpression;
     _despiteExpression = sample.DespiteExpression;
 }