The Documentation is missing instructions for registering "IHookExecutor" #5237
-
|
The Documentation is missing instructions for registering I have tried [assembly: HookExecutor<LoggingHookExecutor>]But it does not work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Thanks for reporting this! The docs were indeed missing the registration section for There are two ways to register a hook executor: 1.
|
Beta Was this translation helpful? Give feedback.

Thanks for reporting this! The docs were indeed missing the registration section for
IHookExecutor.There are two ways to register a hook executor:
1.
[HookExecutor<T>]attributeApply it directly to your hook methods, class, or assembly:
2.
SetHookExecutorprogrammaticallyVia
ITestRegisteredEventReceiver— useful when yo…