Table of Contents

Class UnitGreaterThanZeroAttribute

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

Validates that a Unit value is greater than zero.

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

Constructors

UnitGreaterThanZeroAttribute()

public UnitGreaterThanZeroAttribute()

Methods

IsValid(object)

public override bool IsValid(object value)

Parameters

value object

Returns

bool