Exemplo n.º 1
0
 public void execute(String DDOName,
                     String SearchTxt,
                     String SearchTxtTo,
                     out String OptionsJson,
                     out String OptionsDescJson,
                     out String OptionIndexesJson)
 {
     OptionsJson       = "";
     OptionsDescJson   = "";
     OptionIndexesJson = "";
     try
     {
         if (!ProcessHeaders("test4getfilterdata"))
         {
             return;
         }
         test4getfilterdata worker = new test4getfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
Exemplo n.º 2
0
        public void executeSubmit(String aP0_DDOName,
                                  String aP1_SearchTxt,
                                  String aP2_SearchTxtTo,
                                  out String aP3_OptionsJson,
                                  out String aP4_OptionsDescJson,
                                  out String aP5_OptionIndexesJson)
        {
            test4getfilterdata objtest4getfilterdata;

            objtest4getfilterdata                       = new test4getfilterdata();
            objtest4getfilterdata.AV35DDOName           = aP0_DDOName;
            objtest4getfilterdata.AV33SearchTxt         = aP1_SearchTxt;
            objtest4getfilterdata.AV34SearchTxtTo       = aP2_SearchTxtTo;
            objtest4getfilterdata.AV39OptionsJson       = "";
            objtest4getfilterdata.AV42OptionsDescJson   = "";
            objtest4getfilterdata.AV44OptionIndexesJson = "";
            objtest4getfilterdata.context.SetSubmitInitialConfig(context);
            objtest4getfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objtest4getfilterdata);
            aP3_OptionsJson       = this.AV39OptionsJson;
            aP4_OptionsDescJson   = this.AV42OptionsDescJson;
            aP5_OptionIndexesJson = this.AV44OptionIndexesJson;
        }