Skip to content

Creating an Interceptor Class with a DI Dependency #7

Open
@dguinn-oncore

Description

@dguinn-oncore

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions