示例#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("secrolewwgetfilterdata"))
         {
             return;
         }
         secrolewwgetfilterdata worker = new secrolewwgetfilterdata(context);
         worker.IsMain = RunAsMain;
         worker.execute(DDOName, SearchTxt, SearchTxtTo, out OptionsJson, out OptionsDescJson, out OptionIndexesJson);
         worker.cleanup( );
     }
     catch (Exception e)
     {
         WebException(e);
     }
     finally
     {
         Cleanup();
     }
 }
示例#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)
        {
            secrolewwgetfilterdata objsecrolewwgetfilterdata;

            objsecrolewwgetfilterdata                       = new secrolewwgetfilterdata();
            objsecrolewwgetfilterdata.AV16DDOName           = aP0_DDOName;
            objsecrolewwgetfilterdata.AV14SearchTxt         = aP1_SearchTxt;
            objsecrolewwgetfilterdata.AV15SearchTxtTo       = aP2_SearchTxtTo;
            objsecrolewwgetfilterdata.AV20OptionsJson       = "";
            objsecrolewwgetfilterdata.AV23OptionsDescJson   = "";
            objsecrolewwgetfilterdata.AV25OptionIndexesJson = "";
            objsecrolewwgetfilterdata.context.SetSubmitInitialConfig(context);
            objsecrolewwgetfilterdata.initialize();
            ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objsecrolewwgetfilterdata);
            aP3_OptionsJson       = this.AV20OptionsJson;
            aP4_OptionsDescJson   = this.AV23OptionsDescJson;
            aP5_OptionIndexesJson = this.AV25OptionIndexesJson;
        }