BaseEntry.FireExceptionIfUnits Method

Throws GeneralException with code OperationCanNotBePerformedWithUnits if any of the specified expression components contains units of measurement in Units.

  Note

Exception is not thrown for an expression component that has Units equal to 1.

Definition

Namespace: SMath.Math.Numeric
Assembly: SMath.Math.Numeric (in SMath.Math.Numeric.dll) Version: 1.73.9126.0
C#
public static void FireExceptionIfUnits(
	params BaseEntry[] args
)

Parameters

args  BaseEntry[]
Array of expression components to check.

Exceptions

GeneralException Thrown if any of the expression components contains units of measurement in Units.

See Also