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
Ran into a practical issue with a custom implementation of the IAggregateHandlerFactory. As the Instantiate method had been an explicit interface implementation, the default interface method as implemented on the IAggregateHandlerFactory was unable to use reflection to direct the call to the implementation.
The action point here is to be more explicit about assumptions, and explicitly throw an exception when those are broken. Specifically scoped to operations involving reflection.
The text was updated successfully, but these errors were encountered:
Ran into a practical issue with a custom implementation of the
IAggregateHandlerFactory
. As theInstantiate
method had been an explicit interface implementation, the default interface method as implemented on theIAggregateHandlerFactory
was unable to use reflection to direct the call to the implementation.The action point here is to be more explicit about assumptions, and explicitly throw an exception when those are broken. Specifically scoped to operations involving reflection.
The text was updated successfully, but these errors were encountered: