protected virtual void Dispose(bool disposing) { if (disposing) { _factory.Dispose(Context); } }
public void DisposeContext(HttpContext context, Exception exception) { _httpContextFactory?.Dispose(context); }
public void Dispose(HttpContext httpContext) { _contextFactory.Dispose(httpContext); }
public void Dispose(HttpContext httpContext) { _logger.LogInformation("The HttpContext factory is now disposing the HttpContext"); _httpContextFactory.Dispose(httpContext); }