Skip to main content

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
TypeName
ActionExecutingContextfilterContext

SetRulesetForClientValidation(HttpContextBase, String[])

View Source
Declaration
public static void SetRulesetForClientValidation(HttpContextBase context, string[] ruleSets)
Parameters
TypeName
System.Web.HttpContextBasecontext
System.String[]ruleSets

GetRuleSetsForClientValidation(HttpContextBase)

View Source
Declaration
public static string[] GetRuleSetsForClientValidation(HttpContextBase context)
Returns

System.String[]

Parameters
TypeName
System.Web.HttpContextBasecontext