Class MassConverter
- Namespace
 - xFunc.Maths.Expressions.Units.Converters
 
- Assembly
 - xFunc.Maths.dll
 
The mass unit converter.
public class MassConverter : IConverter<MassValue>, IConverter<object>
  - Inheritance
 - 
      
      MassConverter
 
- Implements
 
- Inherited Members
 
Methods
CanConvertTo(object, string)
Determines whether the current converter can convert to specified unit.
public bool CanConvertTo(object value, string unit)
  Parameters
Returns
- bool
 trueif converter can convert usingunit; otherwise,false.
Convert(object, string)
Converts value to specified unit.
public MassValue Convert(object value, string unit)
  Parameters
Returns
- MassValue
 The converter value.