Microsoft.AspNetCore.Mvc.Razor.Compilation Namespace¶
-
namespace
Microsoft.AspNetCore.Mvc.Razor.Compilation¶ Interfaces
- interface
ICompilationService - Provides methods for compilation of a Razor page.
- interface
IRazorCompilationService - Specifies the contracts for a service that compiles Razor files.
Classes
- class
CompilationFailedException - An
System.Exceptionthrown when accessing the result of a failed compilation. - class
MetadataReferenceFeature - Specifies the list of
Microsoft.CodeAnalysis.MetadataReferenceused in Razor compilation. - class
MetadataReferenceFeatureProvider - An
Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider`1forMicrosoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeaturethat usesMicrosoft.Extensions.DependencyModel.DependencyContextfor registeredMicrosoft.AspNetCore.Mvc.ApplicationParts.AssemblyPartinstances to createMicrosoft.CodeAnalysis.MetadataReference. - class
RelativeFileInfo - A container type that represents
Microsoft.Extensions.FileProviders.IFileInfoalong with the application base relative path for a file in the file system. - class
RoslynCompilationContext - Context object used to pass information about the current Razor page compilation.
Structures
- struct
CompilationResult - Represents the result of compilation.
- interface