PeanutButter
|
Exception thrown when the ducked property is read-only but the interface to duck to expects a read/write property. More...
Public Member Functions | |
ReadOnlyPropertyException (Type owningType, string propertyName) | |
Constructs an instance of the exception. |
Exception thrown when the ducked property is read-only but the interface to duck to expects a read/write property.
PeanutButter.DuckTyping.Exceptions.ReadOnlyPropertyException.ReadOnlyPropertyException | ( | Type | owningType, |
string | propertyName ) |
Constructs an instance of the exception.
owningType | Type implementing read-only property |
propertyName | Name of the property which was expected to be writable |