/// <summary> /// Uses reflection to dynamically invoke a method, /// throwing an exception if it is not /// implemented on the target object. /// </summary> /// <param name="method"> /// Name of the method. /// </param> /// <param name="parameters"> /// Parameters to pass to method. /// </param> public object CallMethod(string method, params object[] parameters) { return(MethodCaller.CallMethod(this.Instance, method, parameters)); }
/// <summary> /// Uses reflection to dynamically invoke a method, /// throwing an exception if it is not /// implemented on the target object. /// </summary> /// <param name="method"> /// Name of the method. /// </param> public object CallMethod(string method) { return(MethodCaller.CallMethod(this.Instance, method)); }