Skip to content

MinMax<T>

Namespace: Shadop.Archmage.Sdk

A numeric range bounded by MinMax.Min and MinMax.Max. The Sample extension methods (in MinMaxExtensions) can draw a random value from it.

public struct MinMax<T>

Inheritance ObjectValueTypeMinMax
Implements IEquatable<MinMax>

public T Min { get; set; }

T

public T Max { get; set; }

T

MinMax(T min, T max)

min T

max T

bool Equals(MinMax<T> other)

other MinMax

Boolean

bool Equals(object obj)

obj Object

Boolean

int GetHashCode()

Int32

string ToString()

String