-
Suppose I have many methods, all with the aspects How can I create a new aspect say called |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What we call composite aspects are aspects that combine several pieces of advice. This is covered in the conceptual documentation. Basically you need to implement the However in your specific case, your implementation of Another approach is to have |
Beta Was this translation helpful? Give feedback.
What we call composite aspects are aspects that combine several pieces of advice. This is covered in the conceptual documentation. Basically you need to implement the
BuildAspect
.However in your specific case, your implementation of
QueryAttribute.OverrideMethod
must combine the logic of both aspects in a single template.Another approach is to have
QueryAttribute
provideLog
andCache
as child aspects.