Microsoft.AspNetCore.Mvc.ViewFeatures 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 to support rendering views.
Classes
AntiforgeryExtensions |
Static class that adds extension methods to IAntiforgery. This class cannot be inherited. |
AttributeDictionary |
A dictionary for HTML attributes. |
CookieTempDataProvider |
Provides data from cookie to the current ITempDataDictionary object. |
DefaultHtmlGenerator |
Default implementation of IHtmlGenerator. |
DefaultHtmlGeneratorExtensions |
Static class that adds extension methods to IHtmlGenerator. This class cannot be inherited. |
DefaultValidationHtmlAttributeProvider |
Default implementation of ValidationHtmlAttributeProvider. |
FormContext |
Information about the current <form>. |
HtmlHelper |
Default implementation of IHtmlHelper. |
HtmlHelper<TModel> |
A HtmlHelper for a specific model type. |
HtmlHelperOptions |
Provides programmatic configuration for the HTML helpers and ViewContext. |
JsonHelper |
Default implementation of IJsonHelper. |
ModelExplorer |
Associates a model object with it's corresponding ModelMetadata. |
ModelExplorerExtensions |
Extension methods for ModelExplorer. |
ModelExpression |
Describes an Expression passed to a tag helper. |
ModelExpressionProvider |
Provides ModelExpression for expressions. |
ModelMetadataProviderExtensions |
Extensions methods for IModelMetadataProvider. |
PartialViewResultExecutor |
Finds and executes an IView for a PartialViewResult. |
SaveTempDataAttribute |
A filter that saves the ITempDataDictionary for a request. |
SessionStateTempDataProvider |
Provides session-state data to the current ITempDataDictionary object. |
StringHtmlContent |
String content which gets encoded when written. |
TempDataDictionary |
Represents a set of data that persists only from one request to the next. |
TempDataDictionaryFactory |
A default implementation of ITempDataDictionaryFactory. |
TemplateInfo |
Represents a template which keeps track of visited objects. |
TryGetValueProvider |
Static class that provides caching for TryGetValue. This class cannot be inherited. |
ValidationHtmlAttributeProvider |
Contract for a service providing validation attributes for expressions. |
ViewComponentResultExecutor | |
ViewContextAttribute |
Specifies that a tag helper property should be set with the current ViewContext when creating the tag helper. The property must have a public set method. |
ViewDataDictionary |
A IDictionary<TKey,TValue> for view data. |
ViewDataDictionary<TModel> |
Represents a ViewDataDictionary for a specific model type. |
ViewDataDictionaryAttribute |
Specifies that a controller property should be set with the current ViewDataDictionary when creating the controller. The property must have a public set method. |
ViewDataDictionaryControllerPropertyActivator |
Represents a IControllerActivatorProvider for a view data dictionary controller. |
ViewDataEvaluator |
Static class that helps evaluate expressions. This class cannot be inherited. |
ViewDataInfo |
Represents info about a ViewDataDictionary lookup which is evaluated when Value is read. |
ViewExecutor |
Executes an IView. |
ViewResultExecutor |
Finds and executes an IView for a ViewResult. |
Structs
AttributeDictionary.Enumerator |
An enumerator for AttributeDictionary. |
Interfaces
IAntiforgeryPolicy |
A marker interface for filters which define a policy for antiforgery token validation. |
IFileVersionProvider |
Provides version hash for a specified file. |
IHtmlGenerator |
Contract for a service supporting IHtmlHelper and |
IKeepTempDataResult |
A marker interface for IActionResult types which need to have temp data saved. |
IModelExpressionProvider |
Provides ModelExpression for a Lambda expression. |
ITempDataDictionary |
Represents a set of data that persists only from one request to the next. |
ITempDataDictionaryFactory |
A factory which provides access to an ITempDataDictionary instance for a request. |
ITempDataProvider |
Defines the contract for temporary-data providers that store data that is viewed on the next request. |
IViewContextAware |
Contract for contextualizing a property activated by a view with the ViewContext. |
Enums
InputType |
Specifies constants which define an input type. |
Delegates
TryGetValueDelegate |
A delegate for TryGetValue(TKey, TValue). |
Remarks
For more information about MVC views, see Views in ASP.NET Core MVC.