9using Microsoft.AspNetCore.Mvc.ViewFeatures;
10using Microsoft.AspNetCore.Razor.TagHelpers;
18 [HtmlTargetElement(
"span", Attributes =
"csla-information-for")]
31 public override void Process(TagHelperContext context, TagHelperOutput output)
36 if (parts.Length == 0)
39 var propertyName = parts[parts.Length - 1];
40 object source = model;
41 for (
int i = 0; i < parts.Length - 1; i++)
43 var result =
string.Empty;
45 result = obj.BrokenRulesCollection.ToString(
",",
RuleSeverity.Information, propertyName);
46 output.Content.SetContent(result);
This is the non-generic base class from which most business objects will be derived.
RuleSeverity
Values for validation rule severities.