コード例 #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;
 }