Microsoft.AspNetCore.Mvc.Razor Namespace¶
-
namespace
Microsoft.AspNetCore.Mvc.
Razor
¶ Interfaces
- interface
IMvcRazorHost
- Specifies the contracts for a Razor host that parses Razor files and generates C# code.
- interface
IRazorPage
- Represents properties and methods that are used by
Microsoft.AspNetCore.Mvc.Razor.RazorView
for execution. - interface
IRazorPageActivator
- Provides methods to activate properties on a
Microsoft.AspNetCore.Mvc.Razor.IRazorPage
instance. - interface
IRazorPageFactoryProvider
- Defines methods that are used for creating
Microsoft.AspNetCore.Mvc.Razor.IRazorPage
instances at a given path. - interface
IRazorViewEngine
- An
Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngine
used to render pages that use the Razor syntax. - interface
ITagHelperActivator
- Provides methods to create a tag helper.
- interface
ITagHelperFactory
- Provides methods to create and initialize tag helpers.
- interface
ITagHelperInitializer<TTagHelper>
- Initializes an
Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
before it’s executed. - interface
IViewLocationExpander
- Specifies the contracts for a view location expander that is used by
Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
instances to determine search paths for a view.
Structures
- struct
RazorPageFactoryResult
- Result of
Microsoft.AspNetCore.Mvc.Razor.IRazorPageFactoryProvider.CreateFactory(System.String)
. - struct
RazorPageResult
- Result of locating a
Microsoft.AspNetCore.Mvc.Razor.IRazorPage
.
Delegates
- delegate
RenderAsyncDelegate
Classes
- class
GeneratedTagHelperAttributeContext
- Contains information for the
Microsoft.AspNetCore.Razor.TagHelpers.ITagHelper
attribute code generation process. - class
HelperResult
- Represents a deferred write operation in a
Microsoft.AspNetCore.Mvc.Razor.RazorPage
. - class
InjectChunk
- class
InjectChunkVisitor
- class
InjectParameterGenerator
- class
LanguageViewLocationExpander
- A
Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander
that adds the language as an extension prefix to view names. Language that is getting added as extension prefix comes fromMicrosoft.AspNetCore.Http.HttpContext
. - class
ModelChunk
Microsoft.AspNetCore.Razor.Chunks.Chunk
for an <code>@model</code> directive.- class
MvcCSharpChunkVisitor
- class
MvcCSharpCodeGenerator
- class
MvcCSharpCodeVisitor
- class
MvcCSharpDesignTimeCodeVisitor
- class
MvcRazorCodeParser
- class
MvcRazorHost
- class
MvcRazorParser
- A subtype of
Microsoft.AspNetCore.Razor.Parser.RazorParser
thatMicrosoft.AspNetCore.Mvc.Razor.MvcRazorHost
uses to support inheritance of tag helpers from <code>_ViewImports</code> files. - class
MvcTagHelperAttributeValueCodeRenderer
- class
RazorPage
- Represents properties and methods that are needed in order to render a view that uses Razor syntax.
- class
RazorPageActivator
- class
RazorPage<TModel>
- Represents the properties and methods that are needed in order to render a view that uses Razor syntax.
- class
RazorView
- Default implementation for
Microsoft.AspNetCore.Mvc.ViewEngines.IView
that executes one or moreMicrosoft.AspNetCore.Mvc.Razor.IRazorPage
as parts of its execution. - class
RazorViewEngine
- Default implementation of
Microsoft.AspNetCore.Mvc.Razor.IRazorViewEngine
. - class
RazorViewEngineOptions
- Provides programmatic configuration for the
Microsoft.AspNetCore.Mvc.Razor.RazorViewEngine
. - class
TagHelperInitializer<TTagHelper>
- class
ViewHierarchyUtility
- Contains methods to locate <code>_ViewStart.cshtml</code> and <code>_ViewImports.cshtml</code>
- class
ViewLocationExpanderContext
- A context for containing information for
Microsoft.AspNetCore.Mvc.Razor.IViewLocationExpander
.
Enumerations
- enum
LanguageViewLocationExpanderFormat
- Specifies the localized view format for
Microsoft.AspNetCore.Mvc.Razor.LanguageViewLocationExpander
.
- interface