Table of Contents

Class FromToTSHString<T>

Namespace
SunamoString._public.SunamoData.Data
Assembly
SunamoString.dll

Generic base class representing a from-to range with configurable usage type.

public class FromToTSHString<T>

Type Parameters

T

The type of the range boundaries.

Inheritance
FromToTSHString<T>
Derived
Inherited Members
Extension Methods

Constructors

FromToTSHString()

Initializes a new instance with default values. Sets FtUse to None if T is int.

public FromToTSHString()

FromToTSHString(T, T, FromToUseString)

Initializes a new instance with specified range boundaries and usage type.

public FromToTSHString(T from, T to, FromToUseString fromToUse = FromToUseString.DateTime)

Parameters

from T

The start of the range.

to T

The end of the range.

fromToUse FromToUseString

How the range should be interpreted.

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

FtUse

Specifies how the from-to range should be interpreted.

public FromToUseString FtUse { get; set; }

Property Value

FromToUseString

IsEmpty

Indicates whether this instance represents an empty range.

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