UnitNullOrMoreZeroAttribute

StockSharp.Messages

単位値がゼロ以上の場合、 数値が null または 大きいことを検証します。

継承元: ValidationAttribute

メソッド

IsValid
public override bool IsValid(object value)
result = unitNullOrMoreZeroAttribute.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.