Table of Contents

Class GreaterThanOrEqualToAttribute

Namespace
Acuit.Pinpoint.Common.Validation
Assembly
Acuit.Pinpoint.Common.dll

Used for specifying a greater-than validation constraint.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = false)]
public sealed class GreaterThanOrEqualToAttribute : CompareToAttribute, _Attribute
Inheritance
GreaterThanOrEqualToAttribute
Implements
Inherited Members

Constructors

GreaterThanOrEqualToAttribute(double)

Constructor that takes a double comparison value.

public GreaterThanOrEqualToAttribute(double comparisonValue)

Parameters

comparisonValue double

The comparison value.

GreaterThanOrEqualToAttribute(int)

Constructor that takes an integer comparison value.

public GreaterThanOrEqualToAttribute(int comparisonValue)

Parameters

comparisonValue int

The comparison value.

GreaterThanOrEqualToAttribute(Type, string)

Allows for specifying a comparison for arbitrary types. The value string will be converted to the target type.

public GreaterThanOrEqualToAttribute(Type operandType, string comparisonValue)

Parameters

operandType Type

The type of the range parameters. Must implement IComparable.

comparisonValue string

The comparison value.