private ISolidProxyInvocation GetInvocation(object caller, MethodInfo method, object[] args, IDictionary <string, object> invocationValues, bool canCancel) { // // create the proxy invocation and return the result, // var proxyInvocationConfiguration = ProxyConfiguration.GetProxyInvocationConfiguration(method); var proxyInvocation = proxyInvocationConfiguration.CreateProxyInvocation(caller, this, args, invocationValues, canCancel); return(proxyInvocation); }
/// <summary> /// Returns the invocation advices for specified method. /// </summary> /// <param name="method"></param> /// <returns></returns> public IEnumerable <ISolidProxyInvocationAdvice> GetInvocationAdvices(MethodInfo method) { var proxyInvocationConfiguration = ProxyConfiguration.GetProxyInvocationConfiguration(method); return(proxyInvocationConfiguration.GetSolidInvocationAdvices()); }