public DefaultViewCompilerProvider( ApplicationPartManager applicationPartManager, ILoggerFactory loggerFactory) { var feature = new ViewsFeature(); applicationPartManager.PopulateFeature(feature); _compiler = new DefaultViewCompiler(feature.ViewDescriptors, loggerFactory.CreateLogger <DefaultViewCompiler>()); }
public DefaultViewCompilerProvider( ApplicationPartManager applicationPartManager, ILoggerFactory loggerFactory) { _compiler = new DefaultViewCompiler(applicationPartManager, loggerFactory.CreateLogger <DefaultViewCompiler>()); }