Click or drag to resize

UnitWithLimitedPrefixes Constructor

Initializes a new instance of the UnitWithLimitedPrefixes class that wraps an existing unit and restricts its allowed SI prefixes to the provided set.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public UnitWithLimitedPrefixes(
	IUnit unit,
	IEnumerable<SIPrefix> allowedPrefixes
)

Parameters

unit  IUnit
The underlying unit to wrap (must not be null).
allowedPrefixes  IEnumerableSIPrefix
The set of allowed prefixes for the resulting unit.
See Also