PowerToys/src/modules/launcher/Plugins/Community.PowerToys.Run.Plugin.UnitConverter/UnitConversionResult.cs

21 lines
510 B
C#

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