Microsoft.AspNetCore.Razor Namespace

Contains classes used to power the design time and runtime experiences for the Razor language.

Classes

CSharpRazorCodeLanguage

Defines the C# Code Language for Razor

DocumentParseCompleteEventArgs

Arguments for the DocumentParseComplete event in RazorEditorParser

ErrorSink

Used to manage RazorErrors encountered during the Razor parsing phase.

ParserResults

Represents the results of parsing a Razor document

RazorCodeLanguage

Represents a code language in Razor.

RazorEditorParser

Parser used by editors to avoid reparsing the entire document on each text change.

RazorEngineHost

Defines the environment in which a Razor template will live

RazorError
RazorTemplateEngine

Entry-point to the Razor Template Engine

Structs

SourceLocation

A location in a Razor file.

Enums

PartialParseResult

The result of attempting an incremental parse

Remarks

Not intended for use in application code.