/// <summary> /// Determines whether a range is contained by a specified range. /// </summary> /// <param name="a">The specified range to locate in the range.</param> /// <param name="b">The range in which to locate the specified range.</param> /// <typeparam name="T">The type of the elements of <paramref name="a"/>.</typeparam> /// <returns> /// <value>true</value> if the range contains the specified range; otherwise, <value>false</value>. /// </returns> public static bool ContainedBy <T>(this NpgsqlRange <T> a, NpgsqlRange <T> b) where T : IComparable <T> => b.Contains(a);