|
PeanutButter
|
Exception thrown when a ducked type has a different number of parameters for a ducked method than the ducked interface expects. More...
Public Member Functions | |
| ParameterCountMismatchException (int providedParameters, MethodInfo forMethod) | |
| Constructs an instance of the exception. | |
Exception thrown when a ducked type has a different number of parameters for a ducked method than the ducked interface expects.
| PeanutButter.DuckTyping.Exceptions.ParameterCountMismatchException.ParameterCountMismatchException | ( | int | providedParameters, |
| MethodInfo | forMethod ) |
Constructs an instance of the exception.
| providedParameters | Number of expected parameters |
| forMethod | Name of the method with a parameter count mismatch |