HttpContext为null new HttpContextWrapper(System.Web.HttpContext.Current)

HttpContext = (context == null ? new HttpContextWrapper(System.Web.HttpContext.Current) : context);

原文地址:https://www.cnblogs.com/jeffry/p/5756371.html