Range(T) Class (original) (raw)

RangeT Class

Represents a range between a minimum and a maximum value.

Inheritance Hierarchy

Namespace: MongoDB.Driver.Core.Misc
Assembly: MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

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

Public NotInheritable Class Range(Of T As {Object, IComparable(Of T)}) Implements IEquatable(Of Range(Of T))

[] type Range<'T when 'T : Object and IComparable<'T>> =
class interface IEquatable<Range<'T>> end

Type Parameters

T

The type of the value.

The RangeT type exposes the following members.

Constructors

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------- | | Public method | RangeT | Initializes a new instance of the RangeT class. |

Top

Properties

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | ----------------------- | | Public property | Max | Gets the maximum value. | | Public property | Min | Gets the minimum value. |

Top

Methods

Extension Methods

See Also

Reference