PeanutButter
Loading...
Searching...
No Matches
PeanutButter.RandomGenerators.GenericBuilderInstanceCreationException Class Reference

Exception thrown then the default method for constructing entities within a GenericBuilder fails, normally because the entity being built has no parameterless constructor. More...

Inheritance diagram for PeanutButter.RandomGenerators.GenericBuilderInstanceCreationException:

Public Member Functions

 GenericBuilderInstanceCreationException (Type builderType, Type entityType)
 Constructs a new instance of the exception.

Detailed Description

Exception thrown then the default method for constructing entities within a GenericBuilder fails, normally because the entity being built has no parameterless constructor.

Constructor & Destructor Documentation

◆ GenericBuilderInstanceCreationException()

PeanutButter.RandomGenerators.GenericBuilderInstanceCreationException.GenericBuilderInstanceCreationException ( Type builderType,
Type entityType )

Constructs a new instance of the exception.

Parameters
builderTypeType of the builder
entityTypeType of the entity to be built

The documentation for this class was generated from the following file:
  • source/TestUtils/PeanutButter.RandomGenerators/GenericBuilderInstanceCreationException.cs