UnitGreaterThanZeroAttribute
StockSharp.Messages
Проверяет, что значение Unit больше нуля.
Наследует: ValidationAttribute
Методы
IsValid
public override bool IsValid(object value)
result = unitGreaterThanZeroAttribute.IsValid(value)
Validates the specified value by converting it and applying the custom validation.
- value
- The value to validate.
Возвращает: True if the value is valid; otherwise, false.