mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 18:57:19 +02:00
committed by
Jaime Bernardo
parent
27e609f6eb
commit
fc9d7e4f1b
@@ -0,0 +1,26 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
namespace Community.PowerToys.Run.Plugin.UnitConverter
|
||||
{
|
||||
public class ConvertModel
|
||||
{
|
||||
public double Value { get; set; }
|
||||
|
||||
public string FromUnit { get; set; }
|
||||
|
||||
public string ToUnit { get; set; }
|
||||
|
||||
public ConvertModel()
|
||||
{
|
||||
}
|
||||
|
||||
public ConvertModel(double value, string fromUnit, string toUnit)
|
||||
{
|
||||
Value = value;
|
||||
FromUnit = fromUnit;
|
||||
ToUnit = toUnit;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user