PriceGreaterThanZeroAttribute
Ecng.ComponentModel
Ensures a Price value is greater than zero (> 0). Null is valid only if DisableNullCheck is true.
Hereda de: PriceValidationAttributeBase
Métodos
Validate
protected override bool Validate(decimal value)
result = priceGreaterThanZeroAttribute.Validate(value)
Core validation over the numeric price value (already extracted).
- value
- Price numeric value.