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

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