@@ -282,7 +282,7 @@ private static bool TryConvertMass(double value, Unit fromUnit, Unit toUnit, out
282
282
}
283
283
}
284
284
285
- public static bool TryConvert ( Length l , Unit toUnit , out double newValue )
285
+ private static bool TryConvert ( Length l , Unit toUnit , out double newValue )
286
286
{
287
287
switch ( toUnit )
288
288
{
@@ -326,7 +326,7 @@ public static bool TryConvert(Length l, Unit toUnit, out double newValue)
326
326
}
327
327
}
328
328
329
- public static bool TryConvert ( Volume volume , Unit toUnit , out double newValue )
329
+ private static bool TryConvert ( Volume volume , Unit toUnit , out double newValue )
330
330
{
331
331
switch ( toUnit )
332
332
{
@@ -368,7 +368,7 @@ public static bool TryConvert(Volume volume, Unit toUnit, out double newValue)
368
368
}
369
369
}
370
370
371
- public static bool TryConvert ( Mass m , Unit toUnit , out double newValue )
371
+ private static bool TryConvert ( Mass m , Unit toUnit , out double newValue )
372
372
{
373
373
switch ( toUnit )
374
374
{
@@ -422,7 +422,7 @@ public static bool TryConvert(Mass m, Unit toUnit, out double newValue)
422
422
}
423
423
}
424
424
425
- public static bool TryConvert ( Pressure p , Unit toUnit , out double newValue )
425
+ private static bool TryConvert ( Pressure p , Unit toUnit , out double newValue )
426
426
{
427
427
switch ( toUnit )
428
428
{
@@ -463,7 +463,7 @@ public static bool TryConvert(Pressure p, Unit toUnit, out double newValue)
463
463
}
464
464
}
465
465
466
- public static bool TryConvert ( Force f , Unit toUnit , out double newValue )
466
+ private static bool TryConvert ( Force f , Unit toUnit , out double newValue )
467
467
{
468
468
switch ( toUnit )
469
469
{
@@ -495,7 +495,7 @@ public static bool TryConvert(Force f, Unit toUnit, out double newValue)
495
495
}
496
496
}
497
497
498
- public static bool TryConvert ( Torque t , Unit toUnit , out double newValue )
498
+ private static bool TryConvert ( Torque t , Unit toUnit , out double newValue )
499
499
{
500
500
switch ( toUnit )
501
501
{
@@ -509,7 +509,7 @@ public static bool TryConvert(Torque t, Unit toUnit, out double newValue)
509
509
}
510
510
}
511
511
512
- public static bool TryConvert ( TimeSpan t , Unit toUnit , out double newValue )
512
+ private static bool TryConvert ( TimeSpan t , Unit toUnit , out double newValue )
513
513
{
514
514
switch ( toUnit )
515
515
{
0 commit comments