コード例 #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();
        }
コード例 #2
0
ファイル: DepsManager.cs プロジェクト: mrahhal/MR.AspNet.Deps
		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();
		}