public bool Equals(RangeOf <TValue> other) { if (object.ReferenceEquals(other, null)) { return(false); } return(Equals(this.Min, other.Min) && Equals(this.Max, other.Max)); }
public RangeOf <TOther> Transform <TOther>(Func <TValue, TOther> transform) where TOther : struct, IComparable <TOther> { return(RangeOf <TOther> .From(transform(Min), transform(Max))); }