MethodBoundaryAspect.Fody icon indicating copy to clipboard operation
MethodBoundaryAspect.Fody copied to clipboard

Can MethodBoundaryAspect.Fody be used to apply aspects to third-party NuGet packages without modifying their source code?

Open InCerryGit opened this issue 2 years ago • 2 comments

Hi,

I have a project A that depends on a third-party NuGet package B. I cannot modify the source code of package B. There's a method called MethodA inside package B, and I would like to apply AOP aspects using MethodBoundaryAspect.Fody to this method without altering the project A.

Is it possible to achieve this using MethodBoundaryAspect.Fody? If so, could you please provide some guidance or examples on how to implement this?

Thank you.

InCerryGit avatar Jul 01 '23 04:07 InCerryGit