Table of Contents

Class Length

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

Represents a length number.

public class Length : Unit<LengthValue>, IExpression, IEquatable<Unit<LengthValue>>
Inheritance
Length
Implements
Inherited Members
Extension Methods

Constructors

Length(LengthValue)

Initializes a new instance of the Length class.

public Length(LengthValue value)

Parameters

value LengthValue

A length 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.