Exemple #1
0
 /// <inheritdoc />
 protected override bool MatchesImpl(IAttributeBag attributeBag, ConstraintContext context)
 {
     return(!inner.Matches(attributeBag, context));
 }
Exemple #2
0
 /// <inheritdoc />
 protected override bool MatchesImpl(IAttributeBag attributeBag, ConstraintContext context)
 {
     return(first.Matches(attributeBag, context) ||
            second.Matches(attributeBag, context));
 }
Exemple #3
0
 /// <inheritdoc />
 public override bool MatchesImpl(IAttributeBag attributeBag, ConstraintContext context)
 {
     return(first.Matches(attributeBag, context) &&
            second.Matches(attributeBag, context));
 }