PeanutButter
Loading...
Searching...
No Matches
PeanutButter.DuckTyping.Exceptions.ParameterCountMismatchException Class Reference

Exception thrown when a ducked type has a different number of parameters for a ducked method than the ducked interface expects. More...

Inheritance diagram for PeanutButter.DuckTyping.Exceptions.ParameterCountMismatchException:

Public Member Functions

 ParameterCountMismatchException (int providedParameters, MethodInfo forMethod)
 Constructs an instance of the exception.

Detailed Description

Exception thrown when a ducked type has a different number of parameters for a ducked method than the ducked interface expects.

Constructor & Destructor Documentation

◆ ParameterCountMismatchException()

PeanutButter.DuckTyping.Exceptions.ParameterCountMismatchException.ParameterCountMismatchException ( int providedParameters,
MethodInfo forMethod )

Constructs an instance of the exception.

Parameters
providedParametersNumber of expected parameters
forMethodName of the method with a parameter count mismatch

The documentation for this class was generated from the following file:
  • source/Utils/PeanutButter.DuckTyping/Exceptions/ParameterCountMismatchException.cs