/// <summary> /// Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>. /// </summary> public void Dispose() { if (_aP != null) { _aP.Dispose(); _aP = null; } }
protected override void Dispose(bool disposing) { if (disposing) { _authProvider.Dispose(); _mobileNumbersRepository.Dispose(); _userRepository.Dispose(); _profilesRepository.Dispose(); } base.Dispose(disposing); }
/// <summary> /// Disposes of the resources (other than memory) used by the module that implements <see cref="T:System.Web.IHttpModule"/>. /// </summary> public void Dispose() { authProvider.Dispose(); authProvider = null; }