Skip to content

ValidationRules.GetRules method

Gets the validation rules among the attributes of a property, and the ones its other attributes imply.

public static IEnumerable<ValidationAttribute> GetRules(IEnumerable<object> attributes)
parameter description
attributes The attributes of the property.

See Also