->
internal class LoggingInterceptor : IInterceptor
What is the alternate for IInterceptor in microsoft.dependencyInjection
->
method.ReturnValue = GetWrapperCreator(method.ReturnType)(task, method);
method is of type MethodInfo here .
ReturnValue does not exist in method Info what is the alternate for that
->
var returnValue = method.Invoke(target, arguments);
here target and arguments does not exist
I am updating the code from unity to microsoft.DependencyInjection
and Instead of IMethodInvocation and IInvocation I have used MethodInfo
but there are still some error that I am unable to resolve it would be really helpful if anyone can help me with them
internal class LoggingInterceptor : IInterceptor
What is the alternate for IInterceptor in microsoft.dependencyInjection
->
method.ReturnValue = GetWrapperCreator(method.ReturnType)(task, method);
method is of type MethodInfo here .
ReturnValue does not exist in method Info what is the alternate for that
->
var returnValue = method.Invoke(target, arguments);
here target and arguments does not exist
I am updating the code from unity to microsoft.DependencyInjection
and Instead of IMethodInvocation and IInvocation I have used MethodInfo
but there are still some error that I am unable to resolve it would be really helpful if anyone can help me with them