Skip to content

62ea26eb 4393 abd3 9470 3b252b5bcf27

Kim Hugener-Ohlsen edited this page May 28, 2016 · 2 revisions

ExpressionRewriter.Magnitude Method

Visits a MagnitudeExpression.

Namespace: Sundew.Quantities.Engine.Representations.Evaluation
Assembly: Sundew.Quantities (in Sundew.Quantities.dll) Version: 1.0.2.0 (1.0.2.0)

Syntax

C#

public void Magnitude(
	MagnitudeExpression magnitudeExpression,
	bool reduceByBaseUnit,
	FlatRepresentationConsumer flatRepresentationConsumer,
	Reference<Expression> currentResult
)

C#

public void Magnitude(
	MagnitudeExpression magnitudeExpression,
	bool reduceByBaseUnit,
	FlatRepresentationConsumer flatRepresentationConsumer,
	Reference<Expression> currentResult
)

VB

Public Sub Magnitude ( 
	magnitudeExpression As MagnitudeExpression,
	reduceByBaseUnit As Boolean,
	flatRepresentationConsumer As FlatRepresentationConsumer,
	currentResult As Reference(Of Expression)
)

VB

Public Sub Magnitude ( 
	magnitudeExpression As MagnitudeExpression,
	reduceByBaseUnit As Boolean,
	flatRepresentationConsumer As FlatRepresentationConsumer,
	currentResult As Reference(Of Expression)
)

C++

public:
virtual void Magnitude(
	MagnitudeExpression^ magnitudeExpression, 
	bool reduceByBaseUnit, 
	FlatRepresentationConsumer^ flatRepresentationConsumer, 
	Reference<Expression^>^ currentResult
) sealed

C++

public:
virtual void Magnitude(
	MagnitudeExpression^ magnitudeExpression, 
	bool reduceByBaseUnit, 
	FlatRepresentationConsumer^ flatRepresentationConsumer, 
	Reference<Expression^>^ currentResult
) sealed

F#

abstract Magnitude : 
        magnitudeExpression : MagnitudeExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 
override Magnitude : 
        magnitudeExpression : MagnitudeExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 

F#

abstract Magnitude : 
        magnitudeExpression : MagnitudeExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 
override Magnitude : 
        magnitudeExpression : MagnitudeExpression * 
        reduceByBaseUnit : bool * 
        flatRepresentationConsumer : FlatRepresentationConsumer * 
        currentResult : Reference<Expression> -> unit 

Parameters

 

magnitudeExpression
Type: Sundew.Quantities.Engine.Representations.Hierarchical.Expressions.MagnitudeExpression
The magnitude expression.
reduceByBaseUnit
Type: System.Boolean
If set to true the expression is reduced by the base unit.
flatRepresentationConsumer
Type: Sundew.Quantities.Engine.Representations.Conversion.FlatRepresentationConsumer
The flat representation consumer.
currentResult
Type: Reference(Expression)
The current result.

Implements

IExpressionVisitor(TParameter1, TParameter2, TParameter3, TResult).Magnitude(MagnitudeExpression, TParameter1, TParameter2, TParameter3)

See Also

Reference

ExpressionRewriter Class
Sundew.Quantities.Engine.Representations.Evaluation Namespace

Clone this wiki locally