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);
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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 :)
All reactions