StringRangeAttribute class
Value must exist within a range of allowed value.
[AttributeUsage(AttributeTargets.All)]
public class StringRangeAttribute : ValidationAttributeBase
Public Members
name | description |
---|---|
StringRangeAttribute() | The default constructor. |
virtual AllowableValues { get; set; } | Allowed values. |
override AddValidation(…) |
Protected Members
name | description |
---|---|
override GetErrorMessage() | |
override IsValid(…) |
See Also
- class ValidationAttributeBase
- namespace Amica