Interface ISpecimenContext
A context used to create anonymous variables (specimens).
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public interface ISpecimenContext
Methods
| Improve this Doc View SourceResolve(Object)
Creates an anonymous variable (specimen) based on a request.
Declaration
object Resolve(object request)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The request that describes what to create. |
Returns
Type | Description |
---|---|
System.Object | The requested specimen if possible. |
Remarks
The request
can be any object, but will often be a
System.Type or other System.Reflection.MemberInfo instances.