C# Class Ploeh.AutoFixture.AutoFakeItEasy2.FakeItEasyRelay

Inheritance: ISpecimenBuilder
Show file Open project: AutoFixture/AutoFixture

Public Methods

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

Creates a new specimen based on a request.

FakeItEasyRelay ( ) : System

Initializes a new instance of the FakeItEasyRelay class.

FakeItEasyRelay ( IRequestSpecification fakeableSpecification ) : System

Initializes a new instance of the FakeItEasyRelay class with a specification that determines whether a type should be mocked.

Method Details

Create() public method

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

FakeItEasyRelay() public method

Initializes a new instance of the FakeItEasyRelay class.
public FakeItEasyRelay ( ) : System
return System

FakeItEasyRelay() public method

Initializes a new instance of the FakeItEasyRelay class with a specification that determines whether a type should be mocked.
public FakeItEasyRelay ( IRequestSpecification fakeableSpecification ) : System
fakeableSpecification IRequestSpecification /// A specification that determines whether a type should be mocked or not. ///
return System