Frequency(double numericValue, FrequencyUnit unit) { _value = numericValue; _unit = unit; }
public Frequency(double hertz) { _value = Convert.ToDouble(hertz); _unit = BaseUnit; }
internal static string ToSerializedValue(this FrequencyUnit?value) { return(value == null ? null : ((FrequencyUnit)value).ToSerializedValue()); }
// Windows Runtime Component requires a default constructor #if WINDOWS_UWP public Frequency() { _value = 0; _unit = BaseUnit; }