Skip to content

bafd8dc2 97ed 526f d4b9 d5d80bcbd252

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

Frequency Class

Represents a frequency quantity.

Represents a frequency quantity.

Inheritance Hierarchy

System.Object
  Sundew.Quantities.Engine.Quantities.Quantity(Frequency)
    Sundew.Quantities.Engine.Quantities.Quantity(Frequency, FrequencyUnitSelector)
      Sundew.Quantities.Periodics.Frequency
Namespace: Sundew.Quantities.Periodics
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public sealed class Frequency : Quantity<Frequency, FrequencyUnitSelector>

C#

public sealed class Frequency : Quantity<Frequency, FrequencyUnitSelector>

VB

Public NotInheritable Class Frequency
	Inherits Quantity(Of Frequency, FrequencyUnitSelector)

VB

Public NotInheritable Class Frequency
	Inherits Quantity(Of Frequency, FrequencyUnitSelector)

C++

public ref class Frequency sealed : public Quantity<Frequency^, FrequencyUnitSelector^>

C++

public ref class Frequency sealed : public Quantity<Frequency^, FrequencyUnitSelector^>

F#

[<SealedAttribute>]
type Frequency =  
    class
        inherit Quantity<Frequency, FrequencyUnitSelector>
    end

F#

[<SealedAttribute>]
type Frequency =  
    class
        inherit Quantity<Frequency, FrequencyUnitSelector>
    end

The Frequency type exposes the following members.

Constructors

 

Name Description
Public method Frequency(Double) Initializes a new instance of the Frequency class.
Public method Frequency(IQuantity) Initializes a new instance of the Frequency class.
Public method Frequency(Double, IUnit) Initializes a new instance of the Frequency class.
Public method Frequency(Double, SelectUnit(FrequencyUnitSelector)) Initializes a new instance of the Frequency class.
  Back to Top

Properties

 

Name Description
Public property Unit Gets the unit. (Inherited from Quantity(TQuantity).)
Public property Value Gets the value. (Inherited from Quantity(TQuantity).)
  Back to Top

Methods

 

Name Description
Public method CompareTo(Object) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. (Inherited from Quantity(TQuantity).)
Public method CompareTo(TQuantity) Compares this instance the specified quantity. (Inherited from Quantity(TQuantity).)
Public method CompareTo(IQuantity) Compares the quantity to this instance. (Inherited from Quantity(TQuantity).)
Public method CreateQuantity Creates a frequency quantity. (Overrides Quantity(TQuantity).CreateQuantity(Double, IUnit).)
Public method CreateUnitSelector Creates a new unit selector. (Overrides Quantity(TQuantity, TUnitSelector).CreateUnitSelector().)
Public method Cubed Cubes this instance. (Inherited from Quantity(TQuantity).)
Public method Equals(Object) Determines whether the specified Object is equal to this instance. (Inherited from Quantity(TQuantity).)
Public method Equals(TQuantity) Checks if this instance is equal to the specified quantity. (Inherited from Quantity(TQuantity).)
Public method Equals(IQuantity) Determines whether the specified quantity is equal to this instance. (Inherited from Quantity(TQuantity).)
Public method GetHashCode Returns a hash code for this instance. (Inherited from Quantity(TQuantity).)
Public method GetResult Gets the result. (Inherited from Quantity(TQuantity).)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member Interval Creates a interval based on the specified min, max and unit.
Public method Squared Squares this instance. (Inherited from Quantity(TQuantity).)
Public method ToDouble(IUnit) Converts this object to a Double using the specified unit. (Inherited from Quantity(TQuantity).)
Public method ToDouble(SelectUnit(TUnitSelector)) Converts this object to a Double using the unit specified by the [!:TUnitSelector]. (Inherited from Quantity(TQuantity, TUnitSelector).)
Public method ToQuantity Converts this object to a IQuantity using the unit specified by the IUnit. (Inherited from Quantity(TQuantity).)
Public method ToString() Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(String) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(String, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, String) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToString(UnitFormat, String, IFormatProvider) Returns a String that represents this instance. (Inherited from Quantity(TQuantity).)
Public method ToUnit(IUnit) Converts this object to a [!:TQuantity] using the specified unit. (Inherited from Quantity(TQuantity).)
Public method ToUnit(SelectUnit(TUnitSelector)) Converts this object to a [!:TQuantity] using the unit specified by the [!:TUnitSelector]. (Inherited from Quantity(TQuantity, TUnitSelector).)
  Back to Top

Operators

 

Name Description
Public operatorStatic member Decrement Decrements the specified LHS with 1.
Public operatorStatic member Increment Increments the specified LHS with 1.
  Back to Top

See Also

Reference

Sundew.Quantities.Periodics Namespace

Clone this wiki locally