C# Class Ploeh.AutoFixture.DataAnnotations.StringLengthAttributeRelay

Relays a request for a constrained string to a ConstrainedStringRequest.
Inheritance: ISpecimenBuilder
显示文件 Open project: AutoFixture/AutoFixture Class Usage Examples

Public Methods

Method Description
Create ( object request, ISpecimenContext context ) : object

Creates a new specimen based on a specified length of characters that are allowed.

Method Details

Create() public method

Creates a new specimen based on a specified length of characters that are allowed.
public Create ( object request, ISpecimenContext context ) : object
request object The request that describes what to create.
context ISpecimenContext A container that can be used to create other specimens.
return object