Modifying the Specification Classes

Aug 18, 2008 at 3:12 PM
Hello Tim,

I'm trying to add  another method in the ISpecification Interface  so it returns also an IQueryable

IQueryable<TCandidate> Matches(IQueryable<TCandidate> candidates);

Now In the Specification Class I added method:

public abstract IQueryable<TCandidate> Matches(IQueryable<TCandidate> candidates);

In the Composite Specification Class I added:

public abstract override IQueryable<TCandidate> Matches(IQueryable<TCandidate> candidates);

My problem is How do I Implement this change in the other classes like the AndSpecification, OrSpecification and the rest of the Specification classes.

Could you please help?  Thanks.