Beispiel #1
0
 public override bool IsSatisfiedBy(T candidate)
 {
     return(!_innerSpecification.IsSatisfiedBy(candidate));
 }
Beispiel #2
0
 public bool IsValid()
 {
     return(ValidSpecification?.IsSatisfiedBy(this) ?? true);
 }
Beispiel #3
0
 public override bool IsSatisfiedBy(T candidate)
 {
     return(_leftSpecification.IsSatisfiedBy(candidate) && _rightSpecification.IsSatisfiedBy(candidate));
 }