C# Class Emlid.WindowsIot.Common.TimeSpanExtensions

Extensions to the TimeSpan class.
Afficher le fichier Open project: emlid/Navio-SDK-Windows-IoT

Méthodes publiques

Свойство Type Description
TicksPerMicrosecond double

Méthodes publiques

Méthode Description
FromMicroseconds ( long microseconds ) : System.TimeSpan

Creates a TimeSpan from an interval specified in microseconds.

TotalMicroseconds ( this span ) : long

Gets the total elapsed time in microseconds.

Method Details

FromMicroseconds() public static méthode

Creates a TimeSpan from an interval specified in microseconds.
public static FromMicroseconds ( long microseconds ) : System.TimeSpan
microseconds long
Résultat System.TimeSpan

TotalMicroseconds() public static méthode

Gets the total elapsed time in microseconds.
public static TotalMicroseconds ( this span ) : long
span this
Résultat long

Property Details

TicksPerMicrosecond public_oe static_oe property

Number of TimeSpan.Ticks in a microsecond.
public static double TicksPerMicrosecond
Résultat double