Class ValueBounds<T>
Contains the minimum and maximum values that were discovered from a collection.
public record ValueBounds<T> : IEquatable<ValueBounds<T>>
Type Parameters
TThe 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
MinTThe minimum value.
MaxTThe 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