DefaultHtmlGenerator
DefaultHtmlGenerator(IAntiforgery, IOptions<MvcViewOptions>, IModelMetadataProvider, IUrlHelperFactory, HtmlEncoder, ValidationHtmlAttributeProvider)
AllowRenderingMaxLengthAttribute
IdAttributeDotReplacement
AddMaxLengthAttribute(ViewDataDictionary, TagBuilder, ModelExplorer, String)
AddPlaceholderAttribute(ViewDataDictionary, TagBuilder, ModelExplorer, String)
AddValidationAttributes(ViewContext, TagBuilder, ModelExplorer, String)
Encode(Object)
Encode(String)
FormatValue(Object, String)
GenerateActionLink(ViewContext, String, String, String, String, String, String, Object, Object)
GenerateAntiforgery(ViewContext)
GenerateCheckBox(ViewContext, ModelExplorer, String, Boolean?, Object)
GenerateForm(ViewContext, String, String, Object, String, Object)
GenerateFormCore(ViewContext, String, String, Object)
GenerateGroupsAndOptions(String, IEnumerable<SelectListItem>)
GenerateHidden(ViewContext, ModelExplorer, String, Object, Boolean, Object)
GenerateHiddenForCheckbox(ViewContext, ModelExplorer, String)
GenerateInput(ViewContext, InputType, ModelExplorer, String, Object, Boolean, Boolean, Boolean, Boolean, String, IDictionary<String, Object>)
GenerateLabel(ViewContext, ModelExplorer, String, String, Object)
GenerateLink(String, String, Object)
GeneratePageForm(ViewContext, String, String, Object, String, String, Object)
GeneratePageLink(ViewContext, String, String, String, String, String, String, Object, Object)
GeneratePassword(ViewContext, ModelExplorer, String, Object, Object)
GenerateRadioButton(ViewContext, ModelExplorer, String, Object, Boolean?, Object)
GenerateRouteForm(ViewContext, String, Object, String, Object)
GenerateRouteLink(ViewContext, String, String, String, String, String, Object, Object)
GenerateSelect(ViewContext, ModelExplorer, String, String, IEnumerable<SelectListItem>, Boolean, Object)
GenerateSelect(ViewContext, ModelExplorer, String, String, IEnumerable<SelectListItem>, ICollection<String>, Boolean, Object)
GenerateTextArea(ViewContext, ModelExplorer, String, Int32, Int32, Object)
GenerateTextBox(ViewContext, ModelExplorer, String, Object, String, Object)
GenerateValidationMessage(ViewContext, ModelExplorer, String, String, String, Object)
GenerateValidationSummary(ViewContext, Boolean, String, String, Object)
GetCurrentValues(ViewContext, ModelExplorer, String, Boolean)
net11.0-windows7.0
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
{
public class DefaultHtmlGenerator : IHtmlGenerator
{
protected virtual void AddMaxLengthAttribute(ViewDataDictionary viewData, TagBuilder tagBuilder, ModelExplorer modelExplorer, string expression);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.23.03.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | Microsoft.AspNetCore.Mvc.ViewFeatures , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API