Table of Contents

Class UnitNotNegativeAttribute

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

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

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter)]
public class UnitNotNegativeAttribute : ValidationAttribute
Inheritance
UnitNotNegativeAttribute
Inherited Members
Extension Methods

Constructors

UnitNotNegativeAttribute()

public UnitNotNegativeAttribute()

Methods

IsValid(object)

public override bool IsValid(object value)

Parameters

value object

Returns

bool