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
typeTypeType that multiple of it.
typesFoundIEnumerable<Type>The types that was found.
Remarks
Initializes a new instance of the MultipleTypesFound class.