コード例 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (disposing)
     {
         _factory.Dispose(Context);
     }
 }
コード例 #2
0
 public void DisposeContext(HttpContext context, Exception exception)
 {
     _httpContextFactory?.Dispose(context);
 }
コード例 #3
0
 public void Dispose(HttpContext httpContext)
 {
     _contextFactory.Dispose(httpContext);
 }
コード例 #4
0
 public void Dispose(HttpContext httpContext)
 {
     _logger.LogInformation("The HttpContext factory is now disposing the HttpContext");
     _httpContextFactory.Dispose(httpContext);
 }