Table of Contents

Class UnitNullOrMoreZeroAttribute

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

Validates that a Unit value is null or greater than zero.

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

Constructors

UnitNullOrMoreZeroAttribute()

public UnitNullOrMoreZeroAttribute()

Methods

IsValid(object)

public override bool IsValid(object value)

Parameters

value object

Returns

bool