Пример #1
0
 /// <summary>
 /// Occurs when ASP.NET application is disposed
 /// </summary>
 /// <param name="o"></param>
 /// <param name="args"></param>
 private void Dispose(object o, EventArgs args)
 {
     try
     {
         if (CacheContainer.DisposeCacheInstance())
         {
             if (NCacheLog != null)
             {
                 NCacheLog.Info("NOutputCache disposed");
             }
         }
     }
     catch (Exception e)
     {
         RaiseException(e);
     }
 }