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

Exception thrown when an expected property was not found on a ducked type. More...

Inheritance diagram for PeanutButter.DuckTyping.Exceptions.PropertyNotFoundException:

Public Member Functions

 PropertyNotFoundException (Type owningType, string propertyName)
 Constructs a new instance of the exception.

Detailed Description

Exception thrown when an expected property was not found on a ducked type.

Constructor & Destructor Documentation

◆ PropertyNotFoundException()

PeanutButter.DuckTyping.Exceptions.PropertyNotFoundException.PropertyNotFoundException ( Type owningType,
string propertyName )

Constructs a new instance of the exception.

Parameters
owningTypeName of the type expected to implement the property
propertyNameName of the missing expected property

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