Class Result.TemperatureResult
Represents the temperature result.
public sealed class Result.TemperatureResult : Result
- Inheritance
-
Result.TemperatureResult
- Inherited Members
Constructors
TemperatureResult(TemperatureValue)
Initializes a new instance of the Result.TemperatureResult class.
public TemperatureResult(TemperatureValue temperature)
Parameters
temperature
TemperatureValueThe temperature value.
Properties
Temperature
Gets the temperature value.
public override TemperatureValue Temperature { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
Operators
implicit operator TemperatureValue(TemperatureResult)
Converts Result.TemperatureResult to TemperatureValue.
public static implicit operator TemperatureValue(Result.TemperatureResult temperatureResult)
Parameters
temperatureResult
Result.TemperatureResultThe temperature result.
Returns
- TemperatureValue
The temperature value.