Table of Contents

Class Converter

Namespace
xFunc.Maths.Expressions.Units.Converters
Assembly
xFunc.Maths.dll

The unit converter.

public class Converter : IConverter
Inheritance
Converter
Implements
Inherited Members

Constructors

Converter()

Initializes a new instance of the Converter class.

public Converter()

Methods

Convert(object, string)

Converts value to specified unit.

public object Convert(object value, string unit)

Parameters

value object

The value to convert.

unit string

The unit to convert to.

Returns

object

The converter value.