Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnMethodBoundaryAspect on Base class should be applied on all derived classes #128

Open
nine-2-five opened this issue Dec 11, 2024 · 0 comments

Comments

@nine-2-five
Copy link

I have this:

[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
public class TracingAspect : OnMethodBoundaryAspect

But it is only applied when it's attributed to a derived class or method. I'd like to have it on a base class, and inherited by all derived classes.
Base class in my case serves only as a shared code "distributor", it doesn't have any inherited/overridden methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant