Skip to content

Marking methods virtual #35

@kjweberpd

Description

@kjweberpd

Is marking methods for interception still a requirement? I have a custom logging interceptor that is loosely based off of:

https://github.com/ninject/Ninject.Extensions.Interception/blob/master/src/Ninject.Extensions.Interception/AsyncInterceptor.cs

In my testing marking the methods virtual did not seem to make a difference whether the proxy worked - it works in both cases for all my tests so far.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions