2 implementations of ValidationMessage
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
HtmlHelper.cs (1)
616public IHtmlContent ValidationMessage(string expression, string message, object htmlAttributes, string tag)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
DefaultEditorTemplatesTest.cs (1)
1605public IHtmlContent ValidationMessage(string modelName, string message, object htmlAttributes, string tag)
9 references to ValidationMessage
Microsoft.AspNetCore.Mvc.ViewFeatures (8)
DefaultEditorTemplates.cs (1)
295valueDivTag.InnerHtml.AppendHtml(htmlHelper.ValidationMessage(
HtmlHelperOptions.cs (1)
46/// <see cref="IHtmlHelper.ValidationMessage"/> and other overloads.
Rendering\HtmlHelperValidationExtensions.cs (5)
35return htmlHelper.ValidationMessage(expression, message: null, htmlAttributes: null, tag: null); 61return htmlHelper.ValidationMessage(expression, message, htmlAttributes: null, tag: null); 92return htmlHelper.ValidationMessage(expression, message: null, htmlAttributes: htmlAttributes, tag: null); 123return htmlHelper.ValidationMessage(expression, message, htmlAttributes: null, tag: tag); 156return htmlHelper.ValidationMessage(expression, message, htmlAttributes, tag: null);
Rendering\ViewContext.cs (1)
149/// Element name used to wrap a top-level message generated by <see cref="IHtmlHelper.ValidationMessage"/> and
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
DefaultEditorTemplatesTest.cs (1)
266.Setup(h => h.ValidationMessage(