public ManifestStorageService(
            StaticContext context,
            PhysicalFileManifestReader reader,
            ManifestMonitor monitor,
            ILogger<ManifestStorageService> logger)
        {
            this.context = context ??
                throw new ArgumentNullException(nameof(context));

            this.reader = reader ??
                throw new ArgumentNullException(nameof(reader));

            this.monitor = monitor ??
                throw new ArgumentNullException(nameof(monitor));

            this.logger = logger ??
                throw new ArgumentNullException(nameof(logger));
        }
Example #2
0
        public StaticAssetPathRepository(
            StaticContext context,
            ManifestStorageService storageService,
            IHttpContextAccessor httpContextAccessor,
            ILogger <StaticAssetPathRepository> logger)
        {
            this.context = context ??
                           throw new ArgumentNullException(nameof(context));

            this.storageService = storageService ??
                                  throw new ArgumentNullException(nameof(storageService));

            this.httpContextAccessor = httpContextAccessor ??
                                       throw new ArgumentNullException(nameof(httpContextAccessor));

            this.logger = logger ??
                          throw new ArgumentNullException(nameof(logger));
        }
Example #3
0
 public ManifestMonitor(StaticContext context, ILogger <ManifestMonitor> logger)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
     this.logger  = logger ?? throw new ArgumentNullException(nameof(logger));
 }
Example #4
0
 public PhysicalFileManifestReader(StaticContext context)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }