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

Exception thrown when a forced ducked type does not implement a method that it is expected to implement. More...

Inheritance diagram for PeanutButter.DuckTyping.Exceptions.MethodNotFoundException:

Public Member Functions

 MethodNotFoundException (Type owningType, string methodName)
 Constructs an instance of the exception.

Detailed Description

Exception thrown when a forced ducked type does not implement a method that it is expected to implement.

Constructor & Destructor Documentation

◆ MethodNotFoundException()

PeanutButter.DuckTyping.Exceptions.MethodNotFoundException.MethodNotFoundException ( Type owningType,
string methodName )

Constructs an instance of the exception.

Parameters
owningTypeType which was expected to implement the method
methodNameName of the method which was expected, but not found

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