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

Exception thrown when fuzzy ducking is enabled but the duck library cannot resolve the order of parameters to pass into the underlying type, usually because there are repeated types amongst the arguments (ie, two integers or similar) More...

Inheritance diagram for PeanutButter.DuckTyping.Exceptions.UnresolveableParameterOrderMismatchException:

Public Member Functions

 UnresolveableParameterOrderMismatchException (Type[] methodParameterTypes, MethodInfo methodInfo)
 Constructs an instance of the exception.

Detailed Description

Exception thrown when fuzzy ducking is enabled but the duck library cannot resolve the order of parameters to pass into the underlying type, usually because there are repeated types amongst the arguments (ie, two integers or similar)

Constructor & Destructor Documentation

◆ UnresolveableParameterOrderMismatchException()

PeanutButter.DuckTyping.Exceptions.UnresolveableParameterOrderMismatchException.UnresolveableParameterOrderMismatchException ( Type[] methodParameterTypes,
MethodInfo methodInfo )

Constructs an instance of the exception.

Parameters
methodParameterTypesCollection of the parameter types supported by the underlying method, ordered as the underlying method has them ordered
methodInfoMethodInfo object describing the problematic method

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