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.Exception thrown when accessing the result of a failed compilation.
class MetadataReferenceFeature
Specifies the list of Microsoft.CodeAnalysis.MetadataReference used in Razor compilation.
class MetadataReferenceFeatureProvider
An Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider`1 for Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature that uses Microsoft.Extensions.DependencyModel.DependencyContext for registered Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart instances to create Microsoft.CodeAnalysis.MetadataReference.
class RelativeFileInfo
A container type that represents Microsoft.Extensions.FileProviders.IFileInfo along 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.