You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! Currently we are limited to run rule sets during autovalidation. I believe we can add specific attribute for such purposes.
I came up with, following naming pattern, next attribute
[AttributeUsage(AttributeTargets.Parameter)]
public class AutoValidateSpecificAttribute : Attribute
{
public string[] RuleSets { get; }
public AutoValidateSpecificAttribute(params string[] ruleSets)
{
RuleSets = ruleSets;
}
}
and then get and use those rulesets in filter.
The text was updated successfully, but these errors were encountered:
Hi! Currently we are limited to run rule sets during autovalidation. I believe we can add specific attribute for such purposes.
I came up with, following naming pattern, next attribute
and then get and use those rulesets in filter.
The text was updated successfully, but these errors were encountered: