Table of Contents

Class Mass

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

Represents a mass number.

public class Mass : Unit<MassValue>, IExpression, IEquatable<Unit<MassValue>>
Inheritance
Mass
Implements
Inherited Members
Extension Methods

Constructors

Mass(MassValue)

Initializes a new instance of the Mass class.

public Mass(MassValue value)

Parameters

value MassValue

A mass value.

Methods

AnalyzeInternal<TResult>(IAnalyzer<TResult>)

Analyzes the current expression.

protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)

Parameters

analyzer IAnalyzer<TResult>

The analyzer.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)

Analyzes the current expression.

protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)

Parameters

analyzer IAnalyzer<TResult, TContext>

The analyzer.

context TContext

The context.

Returns

TResult

The analysis result.

Type Parameters

TResult

The type of the result.

TContext

The type of additional parameter for analyzer.