Class FromToTSHGoogleSheets<T>
- Namespace
- SunamoGoogleSheets._public.SunamoData.Data
- Assembly
- SunamoGoogleSheets.dll
Base class for representing a range (from-to) of values with type conversion support
public class FromToTSHGoogleSheets<T>
Type Parameters
TThe type of values in the range
- Inheritance
-
FromToTSHGoogleSheets<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
FromToTSHGoogleSheets()
Initializes a new instance of the FromToTSHGoogleSheets class
public FromToTSHGoogleSheets()
FromToTSHGoogleSheets(T, T, FromToUseGoogleSheets)
Initializes a new instance with from and to values
public FromToTSHGoogleSheets(T fromValue, T toValue, FromToUseGoogleSheets timestampFormat = FromToUseGoogleSheets.DateTime)
Parameters
fromValueTThe from value
toValueTThe to value
timestampFormatFromToUseGoogleSheetsThe format to use when converting timestamps
Properties
Empty
Gets or sets a value indicating whether this range is empty
public bool Empty { get; set; }
Property Value
From
Gets or sets the from value
public T From { get; set; }
Property Value
- T
FromL
Gets the from value as a long
public long FromL { get; }
Property Value
TimestampFormat
Gets or sets the format to use when converting to/from timestamps
public FromToUseGoogleSheets TimestampFormat { get; set; }
Property Value
To
Gets or sets the to value
public T To { get; set; }
Property Value
- T
ToL
Gets the to value as a long
public long ToL { get; }