Class AlphaNumericValidator
Validator that validates that a string property contains alphanumeric characters.
Inheritance
System.Object
AlphaNumericValidator
Namespace: JK.Common.FluentValidation.Validators
Assembly: JK.Common.FluentValidation.dll
Syntax
public class AlphaNumericValidator : PropertyValidator
Constructors
| Improve this Doc View SourceAlphaNumericValidator()
Initializes a new instance of the AlphaNumericValidator class.
Declaration
public AlphaNumericValidator()
Methods
| Improve this Doc View SourceIsValid(PropertyValidatorContext)
Declaration
protected override bool IsValid(PropertyValidatorContext context)
Parameters
Type | Name | Description |
---|---|---|
PropertyValidatorContext | context |
Returns
Type | Description |
---|---|
System.Boolean |