示例#1
0
 /// <summary>
 /// Adds or removes the specified rules to the first matched element. Requires that the parent form has
 /// been validated prior to the call.
 /// </summary>
 /// <param name="action">The action to perform. Should be 'add' or 'remove'</param>
 /// <param name="rules">The rules to add or remove to the specified element.</param>
 /// <returns>The current state of the rules collection for the first matched element.</returns>
 public jQueryValidationRules Rules(string action, jQueryValidationRules rules)
 {
     return(null);
 }
 /// <summary>
 /// Adds or removes the specified rules to the first matched element. Requires that the parent form has 
 /// been validated prior to the call.
 /// </summary>
 /// <param name="action">The action to perform. Should be 'add' or 'remove'</param>
 /// <param name="rules">The rules to add or remove to the specified element.</param>
 /// <returns>The current state of the rules collection for the first matched element.</returns>
 public jQueryValidationRules Rules(string action, jQueryValidationRules rules) {
     return null;
 }