private static CallMethod ( object obj, Csla.Reflection.DynamicMethodHandle methodHandle, bool hasParameters ) : object | ||
obj | object | |
methodHandle | Csla.Reflection.DynamicMethodHandle | |
hasParameters | bool | |
리턴 | object |
/// <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)); }
/// <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)); }