Example #1
0
        public DepsManager(
            IHostingEnvironment env,
            IMemoryCache memoryCache,
            IAppRootFileProviderAccessor appRootFileProviderAccessor,
            IServiceProvider provider,
            IOptions <DepsOptions> options)
        {
            _env         = env;
            _memoryCache = memoryCache;
            _appRootFileProviderAccessor = appRootFileProviderAccessor;
            _provider = provider;
            _options  = options.Value;

            Initialize();
        }
Example #2
0
		public DepsManager(
			IHostingEnvironment env,
			IMemoryCache memoryCache,
			IAppRootFileProviderAccessor appRootFileProviderAccessor,
			IServiceProvider provider,
			IOptions<DepsOptions> options)
		{
			_env = env;
			_memoryCache = memoryCache;
			_appRootFileProviderAccessor = appRootFileProviderAccessor;
			_provider = provider;
			_options = options.Value;

			Initialize();
		}