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.RazorViewfor execution. - interface
IRazorPageActivator - Provides methods to activate properties on a
Microsoft.AspNetCore.Mvc.Razor.IRazorPageinstance. - interface
IRazorPageFactoryProvider - Defines methods that are used for creating
Microsoft.AspNetCore.Mvc.Razor.IRazorPageinstances at a given path. - interface
IRazorViewEngine - An
Microsoft.AspNetCore.Mvc.ViewEngines.IViewEngineused 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.ITagHelperbefore it’s executed. - interface
IViewLocationExpander - Specifies the contracts for a view location expander that is used by
Microsoft.AspNetCore.Mvc.Razor.RazorViewEngineinstances 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.ITagHelperattribute 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.IViewLocationExpanderthat 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.Chunkfor 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.RazorParserthatMicrosoft.AspNetCore.Mvc.Razor.MvcRazorHostuses 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.IViewthat executes one or moreMicrosoft.AspNetCore.Mvc.Razor.IRazorPageas 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