USIPreferences
USI.Core
Per-USI-instance measurement preferences. Replacing is atomic, so an operation observes either the old or new complete profile.
public sealed class USIPreferencesProperties
Units
public UnitPreferences Units { get; set; }UnitSystem
public USIUnitSystem UnitSystem { get; set; }Applies one complete built-in unit profile.
Methods
Acceleration
public Acceleration Acceleration(double value)Altitude
public Length Altitude(double value)Creates an altitude in the currently selected altitude unit.
Angle
public Angle Angle(double value)AngularVelocity
public AngularVelocity AngularVelocity(double value)Area
public Area Area(double value)Density
public Density Density(double value)Distance
public Length Distance(double value)Creates a distance in the currently selected distance unit.
Energy
public Energy Energy(double value)Force
public Force Force(double value)FormatLatitude
public string FormatLatitude(Angle latitude, int fractionalSeconds = 1)Formats a latitude using the selected coordinate format.
FormatLongitude
public string FormatLongitude(Angle longitude, int fractionalSeconds = 1)Formats a longitude using the selected coordinate format.
Length
public Length Length(double value)Creates a general length in the currently selected length unit.
Mass
public Mass Mass(double value)MassFlow
public MassFlow MassFlow(double value)MomentOfInertia
public MomentOfInertia MomentOfInertia(double value)Power
public Power Power(double value)Pressure
public Pressure Pressure(double value)RadioFrequency
public Frequency RadioFrequency(double value)Speed
public Speed Speed(double value)Creates a speed in the currently selected speed unit.
Temperature
public Temperature Temperature(double value)Torque
public Torque Torque(double value)VerticalSpeed
public Speed VerticalSpeed(double value)Creates a vertical speed in its independently selected unit.
Volume
public Volume Volume(double value)VolumeFlow
public VolumeFlow VolumeFlow(double value)