Exemple #1
0
 public static void ExecuteBasicFuntion(string Name, string[] Arguments, string ObjectName, WebObject.Base CurrentObject)
 {
     MethodInfo[] BasicFunctionsList = typeof(BasicFunctions).GetMethods();
     foreach (MethodInfo BasicFunc in BasicFunctionsList)
     {
         if (BasicFunc.Name == Name)
         {
             object[] BasicArguments = new object[3];
             BasicArguments[0] = ObjectName;
             BasicArguments[1] = Arguments;
             BasicArguments[2] = CurrentObject;
             BasicFunc.Invoke(BasicFunc, BasicArguments);
         }
     }
 }