/// <summary>Determines if another range is inside the bounds of this range.</summary> /// <param name="Range">The child range to test</param> /// <returns>True if range is inside, else false</returns> public bool ContainsRange(DataRange <T> range) { return(this.ContainsValue(range.Minimum) && this.ContainsValue(range.Maximum)); }
/// <summary>Determines if this Range is inside the bounds of another range.</summary> /// <param name="Range">The parent range to test on</param> /// <returns>True if range is inclusive, else false</returns> public bool IsInsideRange(DataRange <T> range) { return(range.ContainsValue(this.Minimum) && range.ContainsValue(this.Maximum)); }