Table of Contents

Class FromToTSHCollectionsGenericShared<T>

Namespace
SunamoCollectionsGeneric._public.SunamoData.Data
Assembly
SunamoCollectionsGeneric.dll

Generic base class for representing a from-to range

public class FromToTSHCollectionsGenericShared<T>

Type Parameters

T

The type of the range values

Inheritance
FromToTSHCollectionsGenericShared<T>
Derived
Inherited Members
Extension Methods

Constructors

FromToTSHCollectionsGenericShared()

Initializes a new instance of the FromToTSHCollectionsGenericShared class

public FromToTSHCollectionsGenericShared()

FromToTSHCollectionsGenericShared(T, T, FromToUseCollectionsGeneric)

Initializes a new instance with the specified range

public FromToTSHCollectionsGenericShared(T from, T to, FromToUseCollectionsGeneric fromToUse = FromToUseCollectionsGeneric.DateTime)

Parameters

from T

The start of the range

to T

The end of the range

fromToUse FromToUseCollectionsGeneric

The type of date/time representation to use

Fields

fromLong

Internal storage for the start of the range as a long value

protected long fromLong

Field Value

long

toLong

Internal storage for the end of the range as a long value

protected long toLong

Field Value

long

Properties

From

Gets or sets the start of the range

public T From { get; set; }

Property Value

T

FromLong

Gets the start of the range as a long value

public long FromLong { get; }

Property Value

long

FromToUse

Gets or sets the type of date/time representation to use

public FromToUseCollectionsGeneric FromToUse { get; set; }

Property Value

FromToUseCollectionsGeneric

IsEmpty

Gets or sets whether this range is empty

public bool IsEmpty { get; set; }

Property Value

bool

To

Gets or sets the end of the range

public T To { get; set; }

Property Value

T

ToLong

Gets the end of the range as a long value

public long ToLong { get; }

Property Value

long