public FileSystemHelper(IApplicationEnvironment appEnv, IHostingEnvironment hostingEnv, ISmidgeConfig config, IUrlHelper urlHelper) { _appEnv = appEnv; _config = config; _urlHelper = urlHelper; _hostingEnv = hostingEnv; }
public DefaultUrlManager(IOptions<SmidgeOptions> options, ISmidgeConfig config, IHasher hasher, IUrlHelper urlHelper) { _hasher = hasher; _urlHelper = urlHelper; _options = options.Value.UrlOptions; _config = config; }
public FileSystemHelper(IHostingEnvironment hostingEnv, ISmidgeConfig config, IHasher hasher) { _hasher = hasher; _config = config; _hostingEnv = hostingEnv; _fileProvider = hostingEnv.WebRootFileProvider; }
public ConfigCacheBuster(ISmidgeConfig config) { if (config == null) { throw new ArgumentNullException(nameof(config)); } _config = config; }
public FileSystemHelper(IHostingEnvironment hostingEnv, ISmidgeConfig config, IFileProvider fileProvider, IHasher hasher) #endif { _hasher = hasher; _config = config; _hostingEnv = hostingEnv; _fileProvider = fileProvider; }
public FileSystemHelper(IHostingEnvironment hostingEnv, ISmidgeConfig config, IHasher hasher, IWebsiteInfo siteInfo) #endif { _hasher = hasher; _siteInfo = siteInfo; _config = config; _hostingEnv = hostingEnv; _fileProvider = hostingEnv.WebRootFileProvider; }
/// <summary> /// Constructor /// </summary> /// <param name="env"></param> /// <param name="config"></param> public SmidgeController( IApplicationEnvironment env, ISmidgeConfig config, FileSystemHelper fileSystemHelper, IHasher hasher, BundleManager bundleManager, IUrlManager urlManager) { _urlManager = urlManager; _hasher = hasher; _env = env; _config = config; _fileSystemHelper = fileSystemHelper; _bundleManager = bundleManager; }
/// <summary> /// Constructor /// </summary> /// <param name="env"></param> /// <param name="config"></param> /// <param name="fileSystemHelper"></param> /// <param name="hasher"></param> /// <param name="bundleManager"></param> /// <param name="urlManager"></param> public SmidgeController( IApplicationEnvironment env, ISmidgeConfig config, FileSystemHelper fileSystemHelper, IHasher hasher, BundleManager bundleManager, IUrlManager urlManager) { _urlManager = urlManager; _hasher = hasher; _env = env; _config = config; _fileSystemHelper = fileSystemHelper; _bundleManager = bundleManager; }
/// <summary> /// Constructor /// </summary> /// <param name="context"></param> /// <param name="config"></param> /// <param name="fileManager"></param> /// <param name="fileSystemHelper"></param> /// <param name="request"></param> public SmidgeHelper( SmidgeContext context, ISmidgeConfig config, PreProcessManager fileManager, FileSystemHelper fileSystemHelper, IHasher hasher, BundleManager bundleManager, IHttpContextAccessor http, PreProcessPipelineFactory processorFactory) { _processorFactory = processorFactory; _bundleManager = bundleManager; _hasher = hasher; _fileManager = fileManager; _context = context; _config = config; _fileSystemHelper = fileSystemHelper; _request = http.HttpContext.Request; _fileBatcher = new FileBatcher(_fileSystemHelper, _request, _hasher); }
/// <summary> /// Constructor /// </summary> /// <param name="context"></param> /// <param name="config"></param> /// <param name="fileManager"></param> /// <param name="fileSystemHelper"></param> /// <param name="hasher"></param> /// <param name="bundleManager"></param> /// <param name="http"></param> /// <param name="processorFactory"></param> public SmidgeHelper( SmidgeContext context, ISmidgeConfig config, PreProcessManager fileManager, FileSystemHelper fileSystemHelper, IHasher hasher, BundleManager bundleManager, IHttpContextAccessor http, PreProcessPipelineFactory processorFactory) { _processorFactory = processorFactory; _bundleManager = bundleManager; _hasher = hasher; _fileManager = fileManager; _context = context; _config = config; _fileSystemHelper = fileSystemHelper; _request = http.HttpContext.Request; _fileBatcher = new FileBatcher(_fileSystemHelper, _request, _hasher); }
public FileSystemHelper(IWebHostEnvironment hostingEnv, ISmidgeConfig config, IHasher hasher)
public FileSystemHelper(IApplicationEnvironment appEnv, IHostingEnvironment hostingEnv, ISmidgeConfig config) { _appEnv = appEnv; _config = config; _hostingEnv = hostingEnv; }
public FileSystemHelper(IWebHostEnvironment hostingEnv, ISmidgeConfig config, IFileProvider fileProvider, IHasher hasher, IWebsiteInfo siteInfo)
public DefaultUrlManager(IOptions<SmidgeOptions> options, ISmidgeConfig config, IHasher hasher) { _hasher = hasher; _options = options.Options.UrlOptions; _config = config; }
public DefaultUrlManager(IOptions <SmidgeOptions> options, ISmidgeConfig config, IHasher hasher) { _hasher = hasher; _options = options.Value.UrlOptions; _config = config; }