{
+ namespace Microsoft.AspNetCore.Mvc.ApplicationParts {
+ public static class AssemblyPartExtensions {
+ public static IEnumerable<string> GetReferencePaths(this AssemblyPart assemblyPart);
+ }
+ }
+ namespace Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation {
+ public class FileProviderRazorProjectItem : RazorProjectItem {
+ public FileProviderRazorProjectItem(IFileInfo fileInfo, string basePath, string filePath, string root);
+ public FileProviderRazorProjectItem(IFileInfo fileInfo, string basePath, string filePath, string root, string fileKind);
+ public override string BasePath { get; }
+ public override bool Exists { get; }
+ public IFileInfo FileInfo { get; }
+ public override string FileKind { get; }
+ public override string FilePath { get; }
+ public override string PhysicalPath { get; }
+ public override string RelativePhysicalPath { get; }
+ public override Stream Read();
+ }
+ public class MvcRazorRuntimeCompilationOptions {
+ public MvcRazorRuntimeCompilationOptions();
+ public IList<string> AdditionalReferencePaths { get; }
+ public IList<IFileProvider> FileProviders { get; }
+ }
+ }
+ namespace Microsoft.Extensions.DependencyInjection {
+ public static class RazorRuntimeCompilationMvcBuilderExtensions {
+ public static IMvcBuilder AddRazorRuntimeCompilation(this IMvcBuilder builder);
+ public static IMvcBuilder AddRazorRuntimeCompilation(this IMvcBuilder builder, Action<MvcRazorRuntimeCompilationOptions> setupAction);
+ }
+ public static class RazorRuntimeCompilationMvcCoreBuilderExtensions {
+ public static IMvcCoreBuilder AddRazorRuntimeCompilation(this IMvcCoreBuilder builder);
+ public static IMvcCoreBuilder AddRazorRuntimeCompilation(this IMvcCoreBuilder builder, Action<MvcRazorRuntimeCompilationOptions> setupAction);
+ }
+ }
+}