public R ToCall <R>( string methodName, object first, params object[] rest) { var parameters = MethodInvoke.NormalizeParameters(first, rest); return((R)MethodInvoke.InstanceMethod(@object, methodName, parameters).Value); }
public R ToCall <R>( string methodName, object first, params object[] rest) { var parameters = MethodInvoke.NormalizeParameters(first, rest); return((R)MethodInvoke.StaticMethod <T>(methodName, parameters).Value); }
public void ToCall( string methodName, object first, params object[] rest) { var parameters = MethodInvoke.NormalizeParameters(first, rest); MethodInvoke.InstanceMethod(@object, methodName, parameters); }
public void ToCall( string methodName, object first, params object[] rest) { var parameters = MethodInvoke.NormalizeParameters(first, rest); MethodInvoke.StaticMethod <T>(methodName, parameters); }