You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey guys, this is a really great addition for structure map!
I may be missing something simple, but I can't figure out how to add an IAsyncInterceptionBehavior that requires a constructor dependency (ILogger, for example). Logging is a good example because I think that is pretty common use for dynamic proxy interception (with tracing and error handling).
Let me know if something comes to mind, or if I'm missing something pretty obvious!
Thanks!
The text was updated successfully, but these errors were encountered:
@dguinn-oncore Have you tried to use DynamicProxyInterceptor(params Type[] interceptionBehaviorTypes) ctor? If you have, let's say, LoggingInterceptionBehavior with ILogger dependency, it should work if you create use new DynamicProxyInterceptor(typeof(LoggingInterceptionBehavior))
Hey guys, this is a really great addition for structure map!
I may be missing something simple, but I can't figure out how to add an IAsyncInterceptionBehavior that requires a constructor dependency (ILogger, for example). Logging is a good example because I think that is pretty common use for dynamic proxy interception (with tracing and error handling).
Let me know if something comes to mind, or if I'm missing something pretty obvious!
Thanks!
The text was updated successfully, but these errors were encountered: