Table of Contents

Class Range<T>

Namespace
MongoDB.Driver.Core.Misc
Assembly
MongoDB.Driver.Core.dll

Represents a range between a minimum and a maximum value.

public sealed class Range<T> : IEquatable<Range<T>> where T : IComparable<T>

Type Parameters

T

The type of the value.

Inheritance
Range<T>
Implements
Inherited Members

Constructors

Range(T, T)

Initializes a new instance of the Range<T> class.

Properties

Max

Gets the maximum value.

Min

Gets the minimum value.

Methods

Equals(Range<T>)
Equals(object)
GetHashCode()
Overlaps(Range<T>)

Determines whether this range overlaps with another range.

ToString()