Esempio n. 1
0
 ///<inheritdoc cref="IRangify{T}"/>
 public bool ContainsRange(IRangify <T> range) =>
 IsValid() && range.IsValid() && ContainsValue(range.Minimum) && ContainsValue(range.Maximum);
Esempio n. 2
0
 ///<inheritdoc cref="IRangify{T}"/>
 public bool IsInsideRange(IRangify <T> range) =>
 IsValid() && range.IsValid() && range.ContainsValue(Minimum) && range.ContainsValue(Maximum);