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

This commit is contained in:
Enrico Giordani
2021-06-08 08:53:11 -07:00
committed by GitHub
parent a6458823b1
commit 1dabd761e1
24 changed files with 1089 additions and 3 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;
}
}
}