public void execute(String icontent, String ijwtcontent, String tenant_cookie, out String oUserName, out String oUserType, out short oTenantsNum, out String oRDashAdd) { oUserName = ""; oUserType = ""; oTenantsNum = 0; oRDashAdd = ""; try { if (!ProcessHeaders("wb_getusername")) { return; } wb_getusername worker = new wb_getusername(context); worker.IsMain = RunAsMain; int gxroUserType = 0; gxroUserType = (int)(NumberUtil.Val((String)(oUserType), ".")); worker.execute(icontent, ijwtcontent, tenant_cookie, out oUserName, out gxroUserType, out oTenantsNum, out oRDashAdd); worker.cleanup( ); oUserType = StringUtil.LTrim(StringUtil.Str((decimal)(gxroUserType), 9, 0)); } catch (Exception e) { WebException(e); } finally { Cleanup(); } }
public void executeSubmit(String aP0_icontent, String aP1_ijwtcontent, String aP2_tenant_cookie, out String aP3_oUserName, out int aP4_oUserType, out short aP5_oTenantsNum, out String aP6_oRDashAdd) { wb_getusername objwb_getusername; objwb_getusername = new wb_getusername(); objwb_getusername.AV15icontent = aP0_icontent; objwb_getusername.AV19ijwtcontent = aP1_ijwtcontent; objwb_getusername.AV25tenant_cookie = aP2_tenant_cookie; objwb_getusername.AV8oUserName = ""; objwb_getusername.AV17oUserType = 0; objwb_getusername.AV18oTenantsNum = 0; objwb_getusername.AV26oRDashAdd = ""; objwb_getusername.context.SetSubmitInitialConfig(context); objwb_getusername.initialize(); ThreadPool.QueueUserWorkItem(PropagateCulture(new WaitCallback(executePrivateCatch)), objwb_getusername); aP3_oUserName = this.AV8oUserName; aP4_oUserType = this.AV17oUserType; aP5_oTenantsNum = this.AV18oTenantsNum; aP6_oRDashAdd = this.AV26oRDashAdd; }