Microsoft.AspNet.Mvc.Razor.Compilation Namespace

namespace Microsoft.AspNet.Mvc.Razor.Compilation

Interfaces

interface ICompilationService
Provides methods for compilation of a Razor page.
interface ICompilerCache
Caches the result of runtime compilation of Razor files for the duration of the app lifetime.
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 CompilationOptionsProviderExtension
Extension methods for @!:ICompilerOptionsProvider-.
class CompilationResult
Represents the result of compilation.
class CompilerCache
Caches the result of runtime compilation of Razor files for the duration of the app lifetime.
class CompilerCacheEntry
An entry in [Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache](Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache.yml) that contain metadata about precompiled and dynamically compiled file.
class CompilerCacheResult
Result of [Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache](Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache.yml).
class RazorCompilationFailure
@!:ICompilationFailure- for Razor parse failures.
class RazorCompilationMessage
@!:ICompilationMessage- for a @!:RazorError- encountered during parsing.
class RazorCompilationService
Default implementation of [Microsoft.AspNet.Mvc.Razor.Compilation.IRazorCompilationService](Microsoft.AspNet.Mvc.Razor.Compilation.IRazorCompilationService.yml).

class RazorFileHash

class RelativeFileInfo
A container type that represents @!:IFileInfo- along with the application base relative path for a file in the file system.
class RoslynCompilationService
A type that uses Roslyn to compile C# content.

class SyntaxTreeGenerator

class UncachedCompilationResult
Represents the result of compilation that does not come from the [Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache](Microsoft.AspNet.Mvc.Razor.Compilation.ICompilerCache.yml).