Skip to main content

Class FrequencyExtensions

Provides extension methods for creating Meadow.Units.Frequency instances.

Assembly: Meadow.Units.dll
View Source
Declaration
public static class FrequencyExtensions

Methods

Hertz(double)

Creates a Frequency instance with the specified value in Hertz.

View Source
Declaration
public static Frequency Hertz(this double v)
Returns

Meadow.Units.Frequency: A new Frequency instance with the specified value.

Parameters
TypeNameDescription
System.DoublevThe value of frequency in Hertz as a double.

Hertz(int)

Creates a Frequency instance with the specified value in Hertz.

View Source
Declaration
public static Frequency Hertz(this int v)
Returns

Meadow.Units.Frequency: A new Frequency instance with the specified value.

Parameters
TypeNameDescription
System.Int32vThe value of frequency in Hertz as an int.