Table of Contents

Class ValueBounds<T>

Namespace
Garyon.Objects
Assembly
Garyon.dll

Contains the minimum and maximum values that were discovered from a collection.

public record ValueBounds<T> : IEquatable<ValueBounds<T>>

Type Parameters

T

The type of the elements.

Inheritance
ValueBounds<T>
Implements
Inherited Members
Extension Methods

Constructors

ValueBounds(T?, T?)

Contains the minimum and maximum values that were discovered from a collection.

public ValueBounds(T? Min, T? Max)

Parameters

Min T

The minimum value.

Max T

The maximum value.

Fields

Default

Gets a default instance of the ValueBounds<T> record with both values being default.

public static readonly ValueBounds<T> Default

Field Value

ValueBounds<T>

Properties

Max

The maximum value.

public T? Max { get; init; }

Property Value

T

Min

The minimum value.

public T? Min { get; init; }

Property Value

T