Exemple #1
0
 public bool ContainsRange(Range <T> range)
 {
     return(IsValid() && range.IsValid() && ContainsValue(range.Minimum) && ContainsValue(range.Maximum));
 }
Exemple #2
0
 public bool IsInsideRange(Range <T> range)
 {
     return(IsValid() && range.IsValid() && range.ContainsValue(Minimum) && range.ContainsValue(Maximum));
 }