C# Class Dolittle.Validation.ValueTypeMismatch

Exception that gets thrown when a value coming in is of the wrong type from what is expected in a rule.
Inheritance: ArgumentException
Exibir arquivo Open project: dolittle-obsolete/DotNET.Fundamentals

Public Methods

Method Description
ValueTypeMismatch ( Type expected, Type actual ) : System

Initializes a new instance of the ValueTypeMismatch class.

Method Details

ValueTypeMismatch() public method

Initializes a new instance of the ValueTypeMismatch class.
public ValueTypeMismatch ( Type expected, Type actual ) : System
expected Type Expected type for value.
actual Type Actual type for value.
return System