C# Class Porrey.Uwp.IoT.Sensors.IDeviceSensorReadingExtensions

Defines extensions for a IDeviceSensorReading instance.
Show file Open project: porrey/iot

Public Methods

Method Description
ToFahrenheit ( this sensorReading ) : float

Converts the temperature in an instance of IDeviceSensorReading from Celsius to Fahrenheit.

Method Details

ToFahrenheit() public static method

Converts the temperature in an instance of IDeviceSensorReading from Celsius to Fahrenheit.
public static ToFahrenheit ( this sensorReading ) : float
sensorReading this An instance of IDeviceSensorReading.
return float