NotifyPropertyChangingAdapter.RemoveHandler Method |
Removes a handler from PropertyChanging event.
Namespace: PostSharp.Patterns.Model
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.10.10.0 (6.10.10.0)
C#
public abstract bool RemoveHandler( Object instance, Delegate handler )
Parameters
- instance
- Type: System.Object
Instance. - handler
- Type: System.Delegate
Delegate that was registered to the event.
Return Value
Type: Booleantrue if instance implements the represented interface, false otherwise.
An implementation should never return false, instead it should return the result of this.Next.RemoveHandler.