Click or drag to resize

StationIdLocation Class

Specifies a location in terms of a weather station ID (you can find these IDs through the website at www.degreedays.net or by requesting data from geographic locations).
Inheritance Hierarchy
SystemObject
  DegreeDays.Api.DataLocation
    DegreeDays.Api.Data.ImplStationIdLocation

Namespace:  DegreeDays.Api.Data.Impl
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
Syntax
public sealed class StationIdLocation : Location

The StationIdLocation type exposes the following members.

Constructors
  NameDescription
Public methodStationIdLocation(String)
Constructs a StationIdLocation object with the specified weather station ID.
Top
Properties
  NameDescription
Public propertyStationId
Gets the non-null, non-empty string ID of the weather station that this StationIdLocation represents.
Top
Methods
  NameDescription
Public methodEquals(Object)
Two Location objects are equal if it can be ascertained that they both represent the exact same weather station(s) or geographic location, and that two requests for data, one with each Location and identical in every other respect, would return identical data.
(Inherited from Location.)
Public methodGetHashCode
Overridden to ensure consistency with Equals.
(Inherited from Location.)
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