Esempio n. 1
0
 public HttpServerUtility(Microsoft.AspNetCore.Http.HttpContext context)
 {
     httpContext = context;
     RootConfig  = HttpContext.ServiceProvider.GetService(typeof(EnvConfig)) as EnvConfig;
 }
Esempio n. 2
0
 public HttpServerUtility()
 {
     httpContext = FastDev.Common.HttpContext.Current;
     RootConfig  = HttpContext.ServiceProvider.GetService(typeof(EnvConfig)) as EnvConfig;
 }