Example #1
0
        public MinificationAnalyzer(IMinificationHelper minificationHelper, ICacheHelper cacheHelper, IUrlHelper urlHelper) : base()
        {
            if (minificationHelper == null)
            {
                throw new ArgumentNullException(nameof(minificationHelper));
            }
            if (cacheHelper == null)
            {
                throw new ArgumentNullException(nameof(cacheHelper));
            }
            if (urlHelper == null)
            {
                throw new ArgumentNullException(nameof(urlHelper));
            }

            _minificationHelper = minificationHelper;
            _cacheHelper        = cacheHelper;
            _urlHelper          = urlHelper;
        }
Example #2
0
 public JavascriptMinificationAnalyzer(IMinificationHelper minificationHelper, ICacheHelper cacheHelper, IUrlHelper urlHelper) :
     base(minificationHelper, cacheHelper, urlHelper)
 {
 }