예제 #1
0
 public OrderedFileSet(IEnumerable<IWebFile> files,            
     FileSystemHelper fileSystemHelper, 
     HttpRequest request,
     PreProcessPipeline defaultPipeline)
 {
     _files = files;
     _defaultPipeline = defaultPipeline;
     _fileSystemHelper = fileSystemHelper;
     _request = request;
 }
예제 #2
0
        /// <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);
        }
예제 #3
0
 public PreProcessManager(FileSystemHelper fileSystemHelper, IHasher hasher)
 {
     _hasher = hasher;
     _fileSystemHelper = fileSystemHelper;
 }
예제 #4
0
 public BundleManager(FileSystemHelper fileSystemHelper, PreProcessPipelineFactory processorFactory, IOptions<Bundles> bundles)
 {
     _processorFactory = processorFactory;
     _bundles = bundles.Options;
     _fileSystemHelper = fileSystemHelper;
 }
예제 #5
0
 public BundleManager(FileSystemHelper fileSystemHelper, IOptions<Bundles> bundles, PreProcessPipelineFactory processorFactory)
 {
     _bundles = bundles.Value;
     _fileSystemHelper = fileSystemHelper;
     _processorFactory = processorFactory;
 }
예제 #6
0
 public FileBatcher(FileSystemHelper fileSystemHelper, HttpRequest request, IHasher hasher)
 {
     _fileSystemHelper = fileSystemHelper;
     _request = request;
     _hasher = hasher;
 }
예제 #7
0
 public FileBatcher(FileSystemHelper fileSystemHelper, HttpRequest request, IHasher hasher)
 {
     _fileSystemHelper = fileSystemHelper;
     _request          = request;
     _hasher           = hasher;
 }
예제 #8
0
 public FileBatcher(FileSystemHelper fileSystemHelper, IRequestHelper requestHelper, IHasher hasher)
 {
     _fileSystemHelper = fileSystemHelper;
     _requestHelper    = requestHelper;
     _hasher           = hasher;
 }
예제 #9
0
 public BundleManager(FileSystemHelper fileSystemHelper, PreProcessPipelineFactory processorFactory, IOptions <Bundles> bundles)
 {
     _processorFactory = processorFactory;
     _bundles          = bundles.Value;
     _fileSystemHelper = fileSystemHelper;
 }