Return value hooking #205
Unanswered
marielMifsud
asked this question in
Q&A
Replies: 1 comment
-
Hi @marielMifsud , yes it is there. You need to use [Advice(Kind.Around)]
public object Handle(
[Argument(Source.Target)] Func<object[], object> target,
[Argument(Source.Arguments)] object[] args
)
{
var returnValue = target(arguments);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I was wondering is there something like a proceed() in AspectJ where I can get the return value of a method which I am trying to hook?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions