Пример #1
0
 public ComplexCondition(IObjectProvider <TRelatedType> relatedTypes,
                         RelationCondition <TRuleType, TRelatedType> relation,
                         IPredicate <TRelatedType> predicate)
 {
     _relatedTypes = relatedTypes;
     _relation     = relation;
     _predicate    = predicate;
 }
Пример #2
0
 private bool Equals(RelationCondition <TRuleType, TRelatedType> other)
 {
     return(FailDescription == other.FailDescription &&
            Description == other.Description);
 }