UnobtrusiveValidationAttributesGenerator.GetValidationAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the validation attributes from the structure or content of UnobtrusiveValidationAttributesGenerator.
public static void GetValidationAttributes(System.Collections.Generic.IEnumerable<System.Web.Mvc.ModelClientValidationRule> clientRules, System.Collections.Generic.IDictionary<string,object> results);
static member GetValidationAttributes : seq<System.Web.Mvc.ModelClientValidationRule> * System.Collections.Generic.IDictionary<string, obj> -> unit
Public Shared Sub GetValidationAttributes (clientRules As IEnumerable(Of ModelClientValidationRule), results As IDictionary(Of String, Object))
Parameters
- clientRules
- IEnumerable<ModelClientValidationRule>
The ModelClientValidationRule to be implemented.
- results
- IDictionary<String,Object>
The result of the validation.