Click or drag to resize

TemperatureExtensionsToTemperatureValue Method

Convert a raw temperature value into its enum equivalent

Namespace:  WeatherSystem
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static TemperatureVariables ToTemperatureValue(
	this float x
)

Parameters

x
Type: SystemSingle
The value to convert

Return Value

Type: TemperatureVariables
The TemperatureVariables representation of the value

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Single. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also