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

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