Click or drag to resize

IPropertySetterInterceptorOnSet Method

Invoked if the intercepted property setter has been called

Namespace:  Cauldron.Interception
Assembly:  Cauldron.Interception (in Cauldron.Interception.dll) Version: 1.0.0
Syntax
bool OnSet(
	PropertyInterceptionInfo propertyInterceptionInfo,
	Object oldValue,
	Object newValue
)

Parameters

propertyInterceptionInfo
Type: Cauldron.InterceptionPropertyInterceptionInfo
An object that containes information about the intercepted method
oldValue
Type: SystemObject
The current value of the property
newValue
Type: SystemObject
The to be new value of the property

Return Value

Type: Boolean
If returns false, the backing field will be set to newValue
See Also