Class ValidationSummaryTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
public class ValidationSummaryTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
ValidationSummaryTagHelper
- Implements
-
- Inherited Members
-
Constructors
ValidationSummaryTagHelper(ValidationSummaryFactory)
public ValidationSummaryTagHelper(ValidationSummaryFactory validationSummaryFactory)
Parameters
validationSummaryFactory
ValidationSummaryFactory
Properties
Errors
[HtmlAttributeName("errors")]
public IEnumerable<string>? Errors { get; set; }
Property Value
- IEnumerable<string>
ViewContext
[ViewContext]
[HtmlAttributeNotBound]
public ViewContext ViewContext { get; set; }
Property Value
- ViewContext
Methods
ProcessAsync(TagHelperContext, TagHelperOutput)
Asynchronously executes the TagHelper with the given context
and
output
.
Contains information associated with the current HTML tag.
A stateful HTML element used to generate an HTML tag.
A Task that on completion updates the output
.
By default this calls into Process(TagHelperContext, TagHelperOutput)..
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters
context
TagHelperContext
output
TagHelperOutput
Returns
- Task