示例#1
0
        public static string getProgress()
        {
            ProgressResult       pr = new ProgressResult(Percentage, Description, Error);
            JavaScriptSerializer js = new JavaScriptSerializer();

            return(js.Serialize(pr));
        }
示例#2
0
 public static string getProgress()
 {
     ProgressResult pr = new ProgressResult(Percentage, Description, Error);
     JavaScriptSerializer js = new JavaScriptSerializer();
     return js.Serialize(pr);
 }