Exemplo n.º 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();
        }
Exemplo n.º 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();
		}