Click or drag to resize

AverageDataSetBuilder Class

A builder class for creating immutable AverageDataSet objects e.g. for testing purposes.
Inheritance Hierarchy
SystemObject
  DegreeDays.Api.DataAverageDataSetBuilder

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

The AverageDataSetBuilder type exposes the following members.

Constructors
 NameDescription
Public methodAverageDataSetBuilderInitializes a new instance of the AverageDataSetBuilder class
Top
Methods
 NameDescription
Public methodBuild 
Public methodSetAnnualAverage 
Public methodSetFirstYear 
Public methodSetLastYear 
Public methodSetMonthlyAverage Sets the average value for the specified month (January having index 1).
Top
Thread Safety
Instances of this builder class are designed for single-threaded use only. It's fine to create and use instances in multiple concurrent threads, but, in the absence of external synchronization, the use of each individual builder instance should be restricted to one thread only.
See Also