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 LogHandler and the StatisticsHandler are protected internal non virtual multicast delegates. This visibility and the fact that current implementation throw when a SetXXXHandler is called multiple times defeats the purpose of multicast delegates and make implementation of a 3rd party package using these delegates fragile. I’m thinking there to the implementation of an instrumentation packages for example.
The text was updated successfully, but these errors were encountered:
g7ed6e
changed the title
Allow multiple calls to XXXBuilder.SetXXXHandler
Allow multiple calls to SetStatisticsHandler / SetLogHandler / SetErrorHandler
Dec 14, 2023
The LogHandler and the StatisticsHandler are protected internal non virtual multicast delegates. This visibility and the fact that current implementation throw when a SetXXXHandler is called multiple times defeats the purpose of multicast delegates and make implementation of a 3rd party package using these delegates fragile. I’m thinking there to the implementation of an instrumentation packages for example.
The text was updated successfully, but these errors were encountered: