예제 #1
0
        public TemplateProvider(IHostingEnvironment hostingEnvironment, ISiteUrlDetectionService siteUrlDetectionService, IAppVersionService appVersionService)
        {
            this._appVersionService = appVersionService;
            this._fileProvider      = hostingEnvironment.ContentRootFileProvider;

            this._baseUrl = siteUrlDetectionService.GetSiteUrl();
        }
예제 #2
0
 public SiteUrlDetectionMiddleware(ISiteUrlDetectionService siteUrlDetectionService, RequestDelegate next)
 {
     this._siteUrlDetectionService = siteUrlDetectionService;
     this._next = next;
 }
예제 #3
0
 public WebUrlGenerator(ISiteUrlDetectionService siteUrlDetectionService)
 {
     this._siteUrlDetectionService = siteUrlDetectionService;
 }