C# Class Ploeh.AutoFixture.Kernel.ThrowingRecursionGuard

Inheritance: Ploeh.AutoFixture.Kernel.RecursionGuard
显示文件 Open project: AutoFixture/AutoFixture Class Usage Examples

Public Methods

Method Description
Compose ( IEnumerable builders ) : ISpecimenBuilderNode

Composes the supplied builders.

ThrowingRecursionGuard ( ISpecimenBuilder builder ) : System

Initializes a new instance of the ThrowingRecursionGuard class.

ThrowingRecursionGuard ( ISpecimenBuilder builder, IEqualityComparer comparer ) : System

Initializes a new instance of the ThrowingRecursionGuard class.

Private Methods

Method Description
GetFlattenedRequests ( object finalRequest ) : string
HandleRecursiveRequest ( object request ) : object

Method Details

Compose() public method

Composes the supplied builders.
public Compose ( IEnumerable builders ) : ISpecimenBuilderNode
builders IEnumerable The builders to compose.
return ISpecimenBuilderNode

ThrowingRecursionGuard() public method

Initializes a new instance of the ThrowingRecursionGuard class.
public ThrowingRecursionGuard ( ISpecimenBuilder builder ) : System
builder ISpecimenBuilder The builder.
return System

ThrowingRecursionGuard() public method

Initializes a new instance of the ThrowingRecursionGuard class.
public ThrowingRecursionGuard ( ISpecimenBuilder builder, IEqualityComparer comparer ) : System
builder ISpecimenBuilder The intercepting builder to decorate.
comparer IEqualityComparer An IEqualitycomparer implementation to use when comparing requests to determine recursion.
return System