Interface IRequestSpecification
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
A Specification that evaluates requests.
public interface IRequestSpecificationRemarks
This is a codification of the Specification patter for requests. This interface can (and should) be used in any place where you need to filter requests for specimens.
Methods
IsSatisfiedBy(object)
Evaluates a request for a specimen.
bool IsSatisfiedBy(object request)Parameters
request object
The specimen request.
Returns
true if request is satisfied by the Specification;
otherwise, false.