-
-
Save casper-rasmussen/52473f39c81409c9e1553b32fd171f3b 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. | |
context.Services.Intercept<IDocumentRepository>((c, i) => proxyGenerator.CreateInterfaceProxyWithTarget(i, new ApplyMetricsTimingInterceptor(c.GetInstance<IMetricManager>()))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment