AddHandler(object, Action<string>)
Adds a handler to PropertyChanging event.
Declaration
public abstract Delegate AddHandler(object instance, Action<string> handler)
Parameters
Type | Name | Description |
---|---|---|
object | instance | Instance. |
Action<string> | handler | Handler delegate that receives property name as an argument. |
Returns
Type | Description |
---|---|
Delegate | Delegate that was registered to the event or |
Remarks
An implementation should never return null
, instead it should return the result of this.Next.AddHandler
.