mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 11:46:30 +02:00
committed by
Jaime Bernardo
parent
27e609f6eb
commit
fc9d7e4f1b
@@ -0,0 +1,20 @@
|
||||
using UnitsNet;
|
||||
|
||||
namespace Community.PowerToys.Run.Plugin.UnitConverter
|
||||
{
|
||||
public class UnitConversionResult
|
||||
{
|
||||
public double ConvertedValue { get; }
|
||||
|
||||
public string UnitName { get; }
|
||||
|
||||
public QuantityType QuantityType { get; }
|
||||
|
||||
public UnitConversionResult(double convertedValue, string unitName, QuantityType quantityType)
|
||||
{
|
||||
ConvertedValue = convertedValue;
|
||||
UnitName = unitName;
|
||||
QuantityType = quantityType;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user