RuleSetForClientSideMessagesAttribute
Specifies which ruleset should be used when deciding which validators should be used to generate client-side messages.
Assembly: ServiceStack.Mvc.dll
View Source
Declaration
public class RuleSetForClientSideMessagesAttribute : ActionFilterAttribute
Methods
OnActionExecuting(ActionExecutingContext)
View Source
Declaration
public override void OnActionExecuting(ActionExecutingContext filterContext)
Parameters
Type | Name |
---|---|
ActionExecutingContext | filterContext |
SetRulesetForClientValidation(HttpContextBase, String[])
View Source
Declaration
public static void SetRulesetForClientValidation(HttpContextBase context, string[] ruleSets)
Parameters
Type | Name |
---|---|
System.Web.HttpContextBase | context |
System.String[] | ruleSets |
GetRuleSetsForClientValidation(HttpContextBase)
View Source
Declaration
public static string[] GetRuleSetsForClientValidation(HttpContextBase context)
Returns
System.String[]
Parameters
Type | Name |
---|---|
System.Web.HttpContextBase | context |