-
-
Save casper-rasmussen/b1aebd14cbedc53d245660a8ef07de0f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See Registration section for context of use. | |
IProxyGenerationHook methodHook = new SomeMethodsHook("MethodName1", "MethodName2"); | |
context.Services.Intercept<INavigationManager>((c, i) => proxyGenerator.CreateInterfaceProxyWithTarget(i, new ProxyGenerationOptions(methodHook), new ApplyMetricsTimingInterceptor(c.GetInstance<IMetricManager>()))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment