/// <summary> /// Gets the concrete method. /// </summary> /// <returns> /// The method info of the method that is the proxy that is the alternative implementation. /// </returns> public MethodInfo GetConcreteMethod() { return(Invocation.GetConcreteMethod()); }
public object GetParameterValue(string parameterName) { var param = Invocation.GetConcreteMethod().GetParameters().First(p => p.Name == parameterName); return(this.Invocation.GetArgumentValue(param.Position)); }