method
AddValidationAttributes
Microsoft.AspNetCore.Mvc.ViewFeatures.DefaultHtmlGenerator.AddValidationAttributes(Microsoft.AspNetCore.Mvc.Rendering.ViewContext, Microsoft.AspNetCore.Mvc.Rendering.TagBuilder, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer, System.String)