ArxOne / MrAdvice

.NET aspect weaver (build task under NuGet package)
MIT License
311 stars 45 forks source link

Documentation / examples regarding weaving levels #155

Closed Expecho closed 4 years ago

Expecho commented 4 years ago

From the README:

Advise methods or parameters, at assembly, type, method or parameter level

I could only find tests for the assembly and method level. How can I / Where do I find examples of weaving at type level?

picrap commented 4 years ago
[MyAdvice]
class MyClass
{
}

This will advise all methods in class.

Expecho commented 4 years ago

Thanks. Updated the Wiki

picrap commented 4 years ago

Thanks! I had no idea it was even possible to update the wiki for non-members...

Expecho commented 4 years ago

Thanks! I had no idea it was even possible to update the wiki for non-members...

Nor did I to be honest :-)