Specification pattern: Difference between revisions

Content deleted Content added
Improve code
Rdckc (talk | contribs)
m corrected compilation error
 
Line 225:
{
ISpecification<T> other;
public NotSpecification(ISpecification<T> other) => _otherthis.other = other;
public override bool IsSatisfiedBy(T candidate) => !other.IsSatisfiedBy(candidate);
}