Пример #1
0
 public void Init(HttpApplication context)
 {
     lock (_lock)
         if (_initializedModuleCount++ == 0)
         {
             ActivationManager.RunPostStartMethods();
         }
 }
Пример #2
0
 public void Dispose()
 {
     lock (_lock)
         if (--_initializedModuleCount == 0)
         {
             ActivationManager.RunShutdownMethods();
         }
 }