I am trying to port Unity Interception to Simple Injector Interception
In Unity, the method signature IMethodInvocation that gives direct access to the arguments.
However, when I look at the code snippet here
I see the signature is IInvocation
I can use GetConcreteMethod and GetParameters to get the parameter name, but as far as I know, I can't get the value.
If I use the VS debugger, I can see that this information is available via
and then to access the
to look at InArgs to get my array of arguments.
To be honest, I'm not that familiar with all of this, so was wondering how I could get to the arguments in my code given the above?