Click or drag to resize

DataSets Class

Contains all sets of degree-day data generated to fulfil the DataSpecs for a specific Location.
Inheritance Hierarchy
SystemObject
  DegreeDays.Api.DataDataSets

Namespace: DegreeDays.Api.Data
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public sealed class DataSets

The DataSets type exposes the following members.

Methods
 NameDescription
Public methodEquals A DataSets object is equal to another DataSets object with an equal data set for each DataSpec that it was created with.
(Overrides ObjectEquals(Object))
Public methodGetAverage Returns the AverageDataSet that was generated to fulfil the specified AverageDataSpec from the request, or throws a SourceDataException if no such data set could be generated.
Public methodGetBase Returns the DataSetBase that was generated to fulfil the specified DataSpec from the request, or throws a SourceDataException if no such data set could be generated.
Public methodGetBaseWithKey For unusual use cases, this enables you to access the DataSetBase objects using the string keys that are usually managed internally.
Public methodGetDated Returns the DatedDataSet that was generated to fulfil the specified DatedDataSpec from the request, or throws a SourceDataException if no such data set could be generated.
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode)
Public methodGetTimeSeries Returns the TimeSeriesDataSet that was generated to fulfil the specified TimeSeriesDataSpec from the request, or throws a SourceDataException if no such data set could be generated.
Public methodToString Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString)
Top
Thread Safety
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
See Also