UnitNotNegativeAttribute
StockSharp.Messages
Valida que un valor de unidad no sea negativo (cero o mayor).
Hereda de: ValidationAttribute
Métodos
IsValid
public override bool IsValid(object value)
result = unitNotNegativeAttribute.IsValid(value)
Validates the specified value by converting it and applying the custom validation.
- value
- The value to validate.
Devuelve: True if the value is valid; otherwise, false.