[PT Run][New Plugin] Unit Converter (#9800) (#11406)

This commit is contained in:
ThiefZero
2021-06-09 10:46:19 +01:00
committed by Jaime Bernardo
parent 27e609f6eb
commit fc9d7e4f1b
23 changed files with 1071 additions and 7 deletions

View File

@@ -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;
}
}
}