Exemple #1
0
 public void Unload()
 {
     EnterMethod();
     try
     {
         while (Applications.Count > 0)
         {
             SendString("Unloading " + Applications[0].Name + "...");
             try
             {
                 Applications[0].Unload();
                 Applications.Remove(Applications[0]);
             }
             catch (Exception E)
             {
                 SendError(E);
             }
             SendString("Done.");
         }
     }
     catch (Exception E)
     {
         SendError(E);
         throw;
     }
     finally
     {
         ExitMethod();
     }
 }