public ScenarioBuilder WithSpecification(AbstractSpecification <IPosition> specification) { _specification = _specification == null ? specification : _specification.And(specification); return(this); }
public IEnumerable <T> Get(AbstractSpecification <T> specification) { throw new System.NotImplementedException(); }
public AbstractSpecification <T> Not(AbstractSpecification <T> specification) { return(new NotSpecification <T>(specification)); }
public AbstractSpecification <T> Or(AbstractSpecification <T> specification) { return(new OrSpecification <T>(this, specification)); }
public AbstractSpecification <T> And(AbstractSpecification <T> specification) { return(new AndSpecification <T>(this, specification)); }
public AndSpecification(AbstractSpecification <T> left, AbstractSpecification <T> right) { _rightSpecification = right; _leftSpecification = left; }
public NotSpecification(AbstractSpecification <T> specification) { _specification = specification; }