public RazorViewCompilerProvider( ApplicationPartManager applicationPartManager, RazorProjectEngine razorProjectEngine, IRazorViewEngineFileProviderAccessor fileProviderAccessor, CSharpCompiler csharpCompiler, IOptions <RazorViewEngineOptions> viewEngineOptionsAccessor, IViewCompilationMemoryCacheProvider compilationMemoryCacheProvider, ILoggerFactory loggerFactory) { _applicationPartManager = applicationPartManager; _razorProjectEngine = razorProjectEngine; _fileProviderAccessor = fileProviderAccessor; _csharpCompiler = csharpCompiler; _compilationMemoryCacheProvider = compilationMemoryCacheProvider; _viewEngineOptions = viewEngineOptionsAccessor.Value; _logger = loggerFactory.CreateLogger <RazorViewCompiler>(); _createCompiler = CreateCompiler; }
public TemplateCompilerProvider( ApplicationPartManager applicationPartManager, RazorProjectEngine razorProjectEngine, TemplateFileProviderAccessor fileProviderAccessor, CSharpCompiler csharpCompiler, OptionsManager <TemplateOptions> options, IViewCompilationMemoryCacheProvider compilationMemoryCacheProvider, ILoggerFactory loggerFactory) : base(applicationPartManager, razorProjectEngine, fileProviderAccessor, csharpCompiler, options, compilationMemoryCacheProvider, loggerFactory ) { Debug.Print("TemplateCompilerProvider Constructed"); }