PostSharpAPI ReferencePost­Sharp.​Patterns.​ModelNotify­Property­Changing­AdapterRemove­Handler
Open sandboxFocus

NotifyPropertyChangingAdapter.RemoveHandler Method

RemoveHandler(Object, Delegate)

Removes a handler from PropertyChanging event.

Declaration
public abstract bool RemoveHandler(object instance, Delegate handler)
Parameters
Type Name Description
Object instance

Instance.

System.Delegate handler

Delegate that was registered to the event.

Returns
Type Description
Boolean

true if instance implements the represented interface, false otherwise.

Remarks

An implementation should never return false, instead it should return the result of this.Next.RemoveHandler.