AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="0.9.8.1" />

 Frequency

Represents a time value.
public enum Unit

The various frequency units.

public Unit Type { get; }

Gets the type of the length.

public string UnitString { get; }

Gets the representation of the unit as a string.

public float Value { get; }

Gets the value of frequency.

public Frequency(float value, Unit unit)

Creates a new frequency value.

public static Unit GetUnit(string s)

Gets the unit from the enumeration for the provided string.

public static bool op_Equality(Frequency a, Frequency b)

Checks for equality of two frequencies.

public static bool op_GreaterThan(Frequency a, Frequency b)

Compares the magnitude of two frequencies.

public static bool op_GreaterThanOrEqual(Frequency a, Frequency b)

Compares the magnitude of two frequencies.

public static bool op_Inequality(Frequency a, Frequency b)

Checks for inequality of two frequencies.

public static bool op_LessThan(Frequency a, Frequency b)

Compares the magnitude of two frequencies.

public static bool op_LessThanOrEqual(Frequency a, Frequency b)

Compares the magnitude of two frequencies.

public static bool TryParse(string s, out Frequency result)

Tries to convert the given string to a Frequency.

public int CompareTo(Frequency other)

Compares the current frequency against the given one.

public bool Equals(Frequency other)

Checks for equality with the other frequency.

public float ToHertz()

Converts the value to Hz.

public string ToString(string format, IFormatProvider formatProvider)

Returns a formatted string representing the frequency.