Exemple #1
0
 public static bool TryParse(string input, out Mass mass) =>
 UnitOfMeasureParser.TryParseSimpleValue(input, AllUnits, Create, out mass);
Exemple #2
0
 public static bool TryParseUnit(string input, out Mass unitMass) =>
 UnitOfMeasureParser.TryParseSimpleUnit(input, AllUnits, out unitMass);
Exemple #3
0
 public static bool TryParseUnit(string inputUnit, out Distance unitDistance) =>
 UnitOfMeasureParser.TryParseSimpleUnit(inputUnit, AllUnits, out unitDistance);
Exemple #4
0
 public static bool TryParse(string input, out Distance distance) =>
 UnitOfMeasureParser.TryParseSimpleValue(input, AllUnits, Create, out distance);
Exemple #5
0
 public static bool TryParse(string input, out Time time) =>
 UnitOfMeasureParser.TryParseSimpleValue(input, AllUnits, Create, out time);