Innovenergy_trunk/csharp/lib/Units/Units.cs

9 lines
372 B
C#
Raw Normal View History

2023-02-23 12:54:13 +00:00
namespace InnovEnergy.Units;
public static partial class Units
{
public static Current A (this Decimal value) => new Current(value);
public static Voltage V (this Decimal value) => new Voltage(value);
public static Power W (this Decimal value) => new Power(value);
public static Resistance Ohm(this Decimal value) => new Resistance(value);
}