<PackageReference Include="NUnit" Version="4.6.0" />

NUnit.Framework.Internal.ExecutionHooks.HookData

public class HookData
Holds context information for called execution hooks.
namespace NUnit.Framework.Internal.ExecutionHooks { public class HookData { public TestContext Context { get; } public TestContext.MethodInfoAdapter HookedMethod { get; } public Exception Exception { get; } public HookData(TestExecutionContext context, IMethodInfo hookedMethod, Exception exception = null); } }