Microsoft.AspNetCore.Mvc.Razor Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides types required for runtime support for Razor Views.
Classes
GeneratedTagHelperAttributeContext |
Contains information for the ITagHelper attribute code generation process. |
HelperResult |
Represents a deferred write operation in a RazorPage. |
InjectChunk | |
InjectChunkVisitor | |
InjectParameterGenerator | |
LanguageViewLocationExpander |
A IViewLocationExpander that adds the language as an extension prefix to view names. Language that is getting added as extension prefix comes from HttpContext. |
ModelChunk |
Chunk for an |
MvcCSharpChunkVisitor | |
MvcCSharpCodeGenerator | |
MvcCSharpCodeVisitor | |
MvcCSharpDesignTimeCodeVisitor | |
MvcRazorCodeParser | |
MvcRazorHost | |
MvcRazorParser |
A subtype of RazorParser that MvcRazorHost uses to support inheritance of tag
helpers from |
MvcTagHelperAttributeValueCodeRenderer |
Renders code for tag helper property initialization. |
RazorPage |
Represents properties and methods that are needed in order to render a view that uses Razor syntax. |
RazorPage<TModel> |
Represents the properties and methods that are needed in order to render a view that uses Razor syntax. |
RazorPageActivator |
Provides methods to activate properties on a IRazorPage instance. |
RazorPageBase |
Represents properties and methods that are needed in order to render a view that uses Razor syntax. |
RazorView |
Default implementation for IView that executes one or more IRazorPage as parts of its execution. |
RazorViewEngine |
Default implementation of IRazorViewEngine. |
RazorViewEngineOptions |
Provides programmatic configuration for the RazorViewEngine. |
TagHelperInitializer<TTagHelper> |
Initializes an ITagHelper before it's executed. |
ViewHierarchyUtility |
Contains methods to locate |
ViewLocationExpanderContext |
A context for containing information for IViewLocationExpander. |
Structs
RazorPageFactoryResult |
Result of CreateFactory(String). |
RazorPageResult |
Result of locating a IRazorPage. |
Interfaces
IMvcRazorHost |
Specifies the contracts for a Razor host that parses Razor files and generates C# code. |
IRazorPage |
Represents properties and methods that are used by RazorView for execution. |
IRazorPageActivator |
Provides methods to activate properties on a IRazorPage instance. |
IRazorPageFactoryProvider |
Defines methods that are used for creating IRazorPage instances at a given path. |
IRazorViewEngine |
An IViewEngine used to render pages that use the Razor syntax. |
ITagHelperActivator |
Provides methods to create a tag helper. |
ITagHelperFactory |
Provides methods to create and initialize tag helpers. |
ITagHelperInitializer<TTagHelper> |
Initializes an ITagHelper before it's executed. |
IViewLocationExpander |
Specifies the contracts for a view location expander that is used by RazorViewEngine instances to determine search paths for a view. |
Enums
LanguageViewLocationExpanderFormat |
Specifies the localized view format for LanguageViewLocationExpander. |
Delegates
RenderAsyncDelegate |
A delegate for RenderAsync. |
Remarks
For more information about MVC views, see Views in ASP.NET Core MVC.