public void Init(HttpApplication context) { lock (_lock) if (_initializedModuleCount++ == 0) { ActivationManager.RunPostStartMethods(); } }
public void Dispose() { lock (_lock) if (--_initializedModuleCount == 0) { ActivationManager.RunShutdownMethods(); } }