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)
netcoreapp3.0
namespace Microsoft.AspNetCore.Mvc.ViewFeatures
{
public class DefaultHtmlGenerator : IHtmlGenerator
{
protected virtual TagBuilder GenerateInput(ViewContext viewContext, InputType inputType, ModelExplorer modelExplorer, string expression, object value, bool useViewData, bool isChecked, bool setId, bool isExplicitValue, string format, IDictionary<string, object> htmlAttributes);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to netcoreapp3.0 | |
| Assembly | Microsoft.AspNetCore.Mvc.ViewFeatures , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API