public readonly struct Range<T> : IEquatable<Range<T>>
where T : Object, IComparable<T>
Public Structure Range(Of T As {Object, IComparable(Of T)})
Implements IEquatable(Of Range(Of T))
generic<typename T>
where T : Object, IComparable<T>
public value class Range : IEquatable<Range<T>>
[<SealedAttribute>]
type Range<'T when 'T : Object and IComparable<'T>> =
struct
inherit ValueType
interface IEquatable<Range<'T>>
end
RangeT(T) | Initializes a new instance of the RangeT struct between the default value of T and the specified upperBound. |
RangeT(T, T) | Initializes a new instance of the RangeT struct between the specified lowerBound and upperBound. |
LowerBound | Gets the lower bound of the range. |
UpperBound | Gets the upper bound of the range. Whether this is an exclusive or inclusive bound, it depends on the context the RangeT is used in. |
Equals(Object) |
Determines whether the specified Object is equal to this instance.
(Overrides ValueTypeEquals(Object)) |
Equals(RangeT) | Indicates whether the current RangeT instance is equal to another one specified in the other parameter. |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode) |
ToString |
Gets the string representation of this RangeT instance.
(Overrides ValueTypeToString) |
Equality(RangeT, RangeT) | Implements the equality check operator. |
(T to RangeT) | Performs an implicit conversion from T to RangeT using the provided value as upper bound. |
(ValueTupleT, T to RangeT) | Performs an implicit conversion from ValueTupleT1, T2 to RangeT. |
Inequality(RangeT, RangeT) | Implements the inequality check operator. |
Convert |
Converts an Object specified in the obj parameter to the desired targetType.
See the Examples section of the generic ConvertTTarget(Object, CultureInfo) overload for an example. (Defined by ObjectExtensions) |
ConvertTTarget |
Converts an Object specified in the obj parameter to the desired TTarget.
(Defined by ObjectExtensions) |
In |
Gets whether item is among the elements of set.
See the Examples section of the generic InT(T, T) overload for an example. (Defined by ObjectExtensions) |
TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvert |
Tries to convert an Object specified in the obj parameter to the desired targetType.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |
TryConvertTTarget |
Tries to convert an Object specified in the obj parameter to the desired TTarget.
See the Examples section of the ConvertTTarget(Object, CultureInfo) method for a related example. (Defined by ObjectExtensions) |