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.UnitsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic 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