You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The dynamic proxies generated on the client raise events with sender set to this.rpc (the JsonRpc object behind the proxy). For a proxy holder, particularly one that has never seen the JsonRpc object because it was created by another party, this may be unexpected.
I think the proxy sending this as the sender parameter is more appropriate so that someone's event handler can find the object on which the handler was added via the sender argument.
The text was updated successfully, but these errors were encountered:
We don't use a whole lot of event handlers in our RPC Contracts, in ServiceHub or elsewhere. After a quick search I don't see anywhere where this would affect me.
I have an event handler in one of the RPC contracts I own but the only callers I know don't rely on "sender" parameter so this should be fine from my point of view as well.
The dynamic proxies generated on the client raise events with
sender
set tothis.rpc
(theJsonRpc
object behind the proxy). For a proxy holder, particularly one that has never seen theJsonRpc
object because it was created by another party, this may be unexpected.I think the proxy sending
this
as thesender
parameter is more appropriate so that someone's event handler can find the object on which the handler was added via thesender
argument.The text was updated successfully, but these errors were encountered: