Class LambdaExpressionGenerator
Creates new lambda expressions represented by the System.Linq.Expressions.Expression<TDelegate> type.
Inheritance
System.Object
LambdaExpressionGenerator
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
Assembly: AutoFixture.dll
Syntax
public class LambdaExpressionGenerator : ISpecimenBuilder
Remarks
Specimens are typically either of type
Methods
| Improve this Doc View SourceCreate(Object, ISpecimenContext)
Creates a new lambda expression represented by the System.Linq.Expressions.Expression<TDelegate> type.
Declaration
public object Create(object request, ISpecimenContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The request that describes what to create. |
ISpecimenContext | context | Not used. |
Returns
Type | Description |
---|---|
System.Object | A new System.Linq.Expressions.Expression<TDelegate> instance, if |