Table of Contents

Range<T> Class

Definition

Namespace
Cuemon
Assemblies
Cuemon.Core.dll
Source
src/Cuemon.Core/Range.cs

Represents a period of time between two T.

public abstract class Range<T> : IEqualityComparer<Range<T>> where T : IFormattable

Type Parameters

T

The type of the time measurement.

Inheritance
Range<T>
Implements
Derived

Constructors

Name Description
Range(T, T, Func<TimeSpan>)

Initializes a new instance of the Range<T> class.

Properties

Name Description
Duration

Gets the duration between Start and End.

End

Gets the point of time where this time range end.

Start

Gets the point of time where this time range begin.

Methods

Name Description
Equals(Range<T>, Range<T>)

Determines whether the specified objects are equal.

GetHashCode(Range<T>)

Returns a hash code for this instance.

ToString(string, IFormatProvider)

Returns a string that represents this instance.

See Also

Range<T>