Пример #1
0
 public static void InitializeAsync(string path, Action <int> callback)
 {
     System.Threading.ThreadPool.QueueUserWorkItem((stateInfo) =>
     {
         HttpMessageReader.LoadTables();
         int time = HttpMessageReader.CompileParseMethod();
         if (callback != null)
         {
             callback(time);
         }
     });
 }