public static object FastInvoke(this object target, LambdaExpression expression, params object[] args) { if (target == null) { throw new ArgumentNullException("target"); } return(FastInvoker.Get(target.GetType()).Invoke(target, expression, args)); }
public static object FastInvoke(this object target, Type[] genericTypes, string methodName, params object[] args) { if (target == null) { throw new ArgumentNullException("target"); } return(FastInvoker.Get(target.GetType()).Invoke(target, genericTypes, methodName, args)); }
public static object FastInvoke(this object target, string methodName) { if (target == null) { throw new ArgumentNullException("target"); } return(FastInvoker.Get(target.GetType()).Invoke(target, methodName)); }
public static object FastInvoke(this object target, Type[] genericTypes, LambdaExpression expression) { if (target == null) { throw new ArgumentNullException("target"); } return(FastInvoker.Get(target.GetType()).Invoke(target, genericTypes, expression)); }
public static object FastInvoke(this Type type, string methodName) { return(FastInvoker.Get(type).Invoke(null, methodName)); }
public static object FastInvoke(this Type type, Type[] genericTypes, string methodName, params object[] args) { return(FastInvoker.Get(type).Invoke(null, genericTypes, methodName, args)); }