Beispiel #1
0
 /// <summary>
 /// 清理释放当前请求的上下文信息
 /// </summary>
 /// <param name="context"></param>
 public void DisponseContext(OwinContext context)
 {
     _diagnosticListener.EndRequest(context);
     _contextFactory.Dispose(context);
     context = null;
 }