/// <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); }