IDS peak ICV v1.4.0
Loading...
Searching...
No Matches
Range Class Reference
Inheritance diagram for Range:

Public Member Functions

 Range (int minimum, int maximum, int increment)
 Initializes a new instance of the Range class with specified minimum, maximum, and increment values.
 
override bool Equals (object? obj)
 Determines whether the specified object is equal to the current range.
 
override int GetHashCode ()
 Returns a hash code for the current range.
 
override string ToString ()
 Returns a string representation of the range.
 

Properties

T Minimum [get]
 Gets the lower boundary of the range.
 
T Maximum [get]
 Gets the upper boundary of the range.
 
T Increment [get]
 Gets the increment value associated with this range.
 

Detailed Description

Represents a range with signed integer boundaries.

Since
IDSImaging.Peak.Common 1.3

Constructor & Destructor Documentation

◆ Range()

Range ( int minimum,
int maximum,
int increment )
inline

Initializes a new instance of the Range class with specified minimum, maximum, and increment values.

Parameters
minimumThe inclusive starting (lower) boundary of the range.
maximumThe inclusive ending (upper) boundary of the range.
incrementThe step size or increment between values within the range.

Member Function Documentation

◆ Equals()

override bool Equals ( object? obj)
inlineinherited

Determines whether the specified object is equal to the current range.

Parameters
objThe object to compare with the current range.
Returns
true if the specified object is equal to the current range; otherwise, false.

◆ GetHashCode()

override int GetHashCode ( )
inlineinherited

Returns a hash code for the current range.

◆ ToString()

override string ToString ( )
inlineinherited

Returns a string representation of the range.

Property Documentation

◆ Increment

T Increment
getinherited

Gets the increment value associated with this range.

◆ Maximum

T Maximum
getinherited

Gets the upper boundary of the range.

◆ Minimum

T Minimum
getinherited

Gets the lower boundary of the range.