ASN1C C# Runtime Library  7.8
Public Member Functions | Protected Attributes | Properties | List of all members
Asn1ValueRange Class Reference

Public Member Functions

 Asn1ValueRange ()
 
 Asn1ValueRange (long min, long max)
 
 Asn1ValueRange (object min, long max)
 
 Asn1ValueRange (long min, object max)
 

Protected Attributes

long mMax
 
long mMin
 

Properties

long Max [get, set]
 
long Min [get, set]
 

Detailed Description

This class models an integer value range. These value ranges may be created by users for queries made to generated SEQUENCE or SET types.

Constructor & Destructor Documentation

◆ Asn1ValueRange() [1/4]

This constructor sets the minimum and maximum values to the limits set in System.Int64.

◆ Asn1ValueRange() [2/4]

Asn1ValueRange ( long  min,
long  max 
)

This constructor takes a minimum and maximum value to set the range.

◆ Asn1ValueRange() [3/4]

Asn1ValueRange ( object  min,
long  max 
)

This constructor ignores the minimum value and sets the maximal value for the range. To call it properly, pass in null for the minimum.

◆ Asn1ValueRange() [4/4]

Asn1ValueRange ( long  min,
object  max 
)

This constructor ignores the maximal value and sets the minimal value for the range. To call it properly, pass in null for the maximum.

Member Data Documentation

◆ mMax

long mMax
protected

This is the maximum value in the range.

◆ mMin

long mMin
protected

This is the minimum value in the range.

Property Documentation

◆ Max

long Max
getset

This is the maximum value in the range.

◆ Min

long Min
getset

This is the minimum value in the range.