Is there a way to implement IExecutionEventListener in a runtime plug-in? I've tried registering a class in various events of my runtime plug-in (RegisterGlobalDependencies, CustomizeGlobalDependencies, CustomizeThreadDependencies) using e.ObjectContainer.RegisterTypeAs<IExecutionEventListener, class>().
I am using various Before/After hooks currently, but I was hoping to move to implementing interfaces / consuming events to better match what I am doing elsewhere.
Ideally, I would be able to receive the ExecutionEvents directly in my code, replacing the use of hooks.
Please sign in to leave a comment.