Exemple #1
0
		public static object InvokeStaticMethod(System.Type type, String methodName, _root.Array args)
		{
			var method = type.GetMethod(methodName);
			if (method == null) throw new Exception("Method not found");
			return method.Invoke(null, args.ToArray());
		}