Browse Source
Merge pull request #10318 from abpframework/liangshiwei/features
Enhance NumericValueValidator
pull/10373/head
Halil İbrahim Kalkan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
framework/src/Volo.Abp.Validation/Volo/Abp/Validation/StringValues/NumericValueValidator.cs
|
|
@ -20,7 +20,8 @@ namespace Volo.Abp.Validation.StringValues |
|
|
|
|
|
|
|
|
public NumericValueValidator() |
|
|
public NumericValueValidator() |
|
|
{ |
|
|
{ |
|
|
|
|
|
MinValue = int.MinValue; |
|
|
|
|
|
MaxValue = int.MaxValue; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public NumericValueValidator(int minValue = int.MinValue, int maxValue = int.MaxValue) |
|
|
public NumericValueValidator(int minValue = int.MinValue, int maxValue = int.MaxValue) |
|
|
|