PeanutButter
|
Exception which is thrown when a type does not contain the expected backing field. More...
Public Member Functions | |
BackingFieldForPropertyNotFoundException (Type owningType, string propertyName) | |
Constructs an instance of the exception. |
Exception which is thrown when a type does not contain the expected backing field.
PeanutButter.DuckTyping.Exceptions.BackingFieldForPropertyNotFoundException.BackingFieldForPropertyNotFoundException | ( | Type | owningType, |
string | propertyName ) |
Constructs an instance of the exception.
owningType | Type which owns the property which should have a corresponding backing field |
propertyName | Name of the property which should be backed by a field with the same name and leading underscore |