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
{
public virtual TagBuilder GeneratePageLink(ViewContext viewContext, string linkText, string pageName, string pageHandler, string protocol, string hostname, string fragment, object routeValues, 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 net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assemblies | Microsoft.AspNetCore.Mvc.ViewFeatures , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.Mvc.ViewFeatures , Version=2.3.13.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| 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