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
TThe 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
fromTThe start of the range
toTThe end of the range
fromToUseFromToUseCollectionsGenericThe 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
toLong
Internal storage for the end of the range as a long value
protected long toLong
Field Value
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
FromToUse
Gets or sets the type of date/time representation to use
public FromToUseCollectionsGeneric FromToUse { get; set; }
Property Value
IsEmpty
Gets or sets whether this range is empty
public bool IsEmpty { get; set; }
Property Value
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; }