Skip to content

Move Attribute to interface #5

@phonglt7

Description

@phonglt7

Hi, I've used your lib recently and it works great.
While using, I see that it's not a good practice to add the Attribute to the Class, I wonder if you can support then I can declare it in Interface?

Like this:

public interface MyInterface()
{
    [MyInterceptorAttribute]
    void MyMethod();
}

public class MyClass() : MyInterface
{
    void MyMethod()
    {
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions