Class LongitudeValidator
Validator that validates that a double property is a valid longitude.
Inheritance
System.Object
LongitudeValidator
Namespace: JK.Common.FluentValidation.Validators
Assembly: JK.Common.FluentValidation.dll
Syntax
public class LongitudeValidator : PropertyValidator
Constructors
| Improve this Doc View SourceLongitudeValidator()
Initializes a new instance of the LongitudeValidator class.
Declaration
public LongitudeValidator()
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 |