Exemple #1
0
        public static string ToJsonStr()
        {
            Dictionary <string, string> d = new Dictionary <string, string>();

            d["processing"] = State.processing ? "true" : "false";
            d["code"]       = State.resAclas.code.ToString();
            d["index"]      = State.resAclas.index.ToString();
            d["total"]      = State.resAclas.total.ToString();
            // d["param"] = AjaxServer.Dict2JsonStr(State.queryStringDict);

            return(AjaxServer.Dict2JsonStr(d));
        }
Exemple #2
0
 public override string ToString()
 {
     return(AjaxServer.AssembleRes(this));
 }
Exemple #3
0
        static void RunAjaxServer()
        {
            AjaxServer ajax = new AjaxServer();

            ajax.StartAjaxServer(new FeedbackAjax(FeedbackAjax));
        }