public CustomCompilerCache(IAssemblyProvider assemblyProvider, IAssemblyLoadContextAccessor loadContextAccessor, IOptions<RazorViewEngineOptions> optionsAccessor, CompilerCacheInitialiedService cacheInitializedService) : base(assemblyProvider, loadContextAccessor, optionsAccessor) { cacheInitializedService.Initialized = true; }
public CustomCompilerCache(IAssemblyProvider assemblyProvider, IAssemblyLoadContextAccessor loadContextAccessor, IOptions <RazorViewEngineOptions> optionsAccessor, CompilerCacheInitialiedService cacheInitializedService) : base(assemblyProvider, loadContextAccessor, optionsAccessor) { cacheInitializedService.Initialized = true; }
public CustomCompilerCache(IEnumerable <RazorFileInfoCollection> fileInfoCollection, IAssemblyLoadContextAccessor loadContextAccessor, IOptions <RazorViewEngineOptions> optionsAccessor, CompilerCacheInitialiedService cacheInitializedService) : base(fileInfoCollection, loadContextAccessor, optionsAccessor) { cacheInitializedService.Initialized = true; }
public CustomCompilerCache(IEnumerable<RazorFileInfoCollection> fileInfoCollection, IAssemblyLoadContextAccessor loadContextAccessor, IOptions<RazorViewEngineOptions> optionsAccessor, CompilerCacheInitialiedService cacheInitializedService) : base(fileInfoCollection, loadContextAccessor, optionsAccessor) { cacheInitializedService.Initialized = true; }
public ContentResult GetCompilerCacheInitializationStatus( [FromServices] CompilerCacheInitialiedService service) { return(Content(service.Initialized.ToString())); }