C# Class Dolittle.Domain.InvalidAggregateRootConstructorSignature

Exception that gets thrown when an AggregateRoot does not follow the convention for expected signature for the constructor.
Expected format is a public constructor with one parameter which is either a Guid or a EventSourceId.
Inheritance: ArgumentException
Mostra file Open project: dolittle/DotNET.Applications

Public Methods

Method Description
InvalidAggregateRootConstructorSignature ( Type type ) : System

Initializes a new instance of the InvalidAggregateRootConstructorSignature class.

Method Details

InvalidAggregateRootConstructorSignature() public method

Initializes a new instance of the InvalidAggregateRootConstructorSignature class.
public InvalidAggregateRootConstructorSignature ( Type type ) : System
type Type Type of the that is faulty.
return System