Class HashSetSpecification
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Encapsulates logic that determines whether a request is a request for a
HashSet%601.
[Obsolete("This specification is obsolete. Use ExactTypeSpecification(typeof(HashSet<>)) instead.")]
public class HashSetSpecification : IRequestSpecificationInheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
HashSetSpecification()
public HashSetSpecification()Methods
IsSatisfiedBy(object)
Evaluates a request for a specimen to determine whether it's a request for a
HashSet%601.
public bool IsSatisfiedBy(object request)Parameters
request object
The specimen request.
Returns
true if request is a request for a
HashSet%601; otherwise, false.