Click or drag to resize

TemperatureUnit Structure

Defines the units of temperature measurement with constants to represent Celsius and Fahrenheit.

Namespace:  DegreeDays.Api.Data
Assembly:  DegreeDays (in DegreeDays.dll) Version: 1.3
Syntax
public struct TemperatureUnit : IEquatable<TemperatureUnit>

The TemperatureUnit type exposes the following members.

Methods
Operators
  NameDescription
Public operatorStatic memberEquality(TemperatureUnit, TemperatureUnit)
Determines whether two specified TemperatureUnit instances are equal.
Public operatorStatic memberInequality(TemperatureUnit, TemperatureUnit)
Determines whether two specified TemperatureUnit instances are not equal.
Top
Fields
  NameDescription
Public fieldStatic memberCelsius
For the Celsius temperature scale.
Public fieldStatic memberFahrenheit
For the Fahrenheit temperature scale.
Top
Thread Safety
Instances of this struct are immutable and safe for use from multiple threads at once. The only values that can exist are those declared here as static readonly fields.
See Also