C# Класс Ploeh.AutoFixture.AutoFakeItEasy2.FakeItEasyRelay

Наследование: ISpecimenBuilder
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

Create() публичный Метод

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.
Результат object

FakeItEasyRelay() публичный Метод

Initializes a new instance of the FakeItEasyRelay class.
public FakeItEasyRelay ( ) : System
Результат System

FakeItEasyRelay() публичный Метод

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. ///
Результат System