UnitNotNegativeAttribute

StockSharp.Messages

Validates that a Unit value is not negative (zero or greater).

Inherits: ValidationAttribute

Methods

IsValid
public override bool IsValid(object value)
result = unitNotNegativeAttribute.IsValid(value)