Table of Contents

Class UnitNullOrNotNegativeAttribute

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

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

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

Constructors

UnitNullOrNotNegativeAttribute()

public UnitNullOrNotNegativeAttribute()

Methods

IsValid(object)

public override bool IsValid(object value)

Parameters

value object

Returns

bool