Class SeedRequestSpecification
A specification that evaluates seeded requests for types against a target type.
Inheritance
System.Object
SeedRequestSpecification
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class SeedRequestSpecification : IRequestSpecification
Constructors
| Improve this Doc View SourceSeedRequestSpecification(Type)
Initializes a new instance of the SeedRequestSpecification class.
Declaration
public SeedRequestSpecification(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The target type. |
Properties
| Improve this Doc View SourceTargetType
Gets the type targeted by this IRequestSpecification.
Declaration
public Type TargetType { get; }
Property Value
Type | Description |
---|---|
System.Type |
Methods
| Improve this Doc View SourceIsSatisfiedBy(Object)
Evaluates a request for a specimen.
Declaration
public bool IsSatisfiedBy(object request)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The specimen request. |
Returns
Type | Description |
---|---|
System.Boolean | true if |