Class MultipleTypesFound

Namespace
Cratis.Types
Assembly
Cratis.Fundamentals.dll

Exception that gets thrown when multiple types are found and not allowed.

public class MultipleTypesFound : ArgumentException, ISerializable
Inheritance
MultipleTypesFound
Implements
Inherited Members
Extension Methods

Remarks

Initializes a new instance of the MultipleTypesFound class.

Constructors

MultipleTypesFound(Type, IEnumerable<Type>)

Exception that gets thrown when multiple types are found and not allowed.

public MultipleTypesFound(Type type, IEnumerable<Type> typesFound)

Parameters

type Type

Type that multiple of it.

typesFound IEnumerable<Type>

The types that was found.

Remarks

Initializes a new instance of the MultipleTypesFound class.