MegaOrDefault Method
Definition
- Assemblies
- Codebelt.Unitify.dll
MegaOrDefault(PrefixTable)
Returns the unit with the Mega prefix or the default value if not found.
public static IPrefixUnit MegaOrDefault(this PrefixTable prefixes)
Parameters
prefixesPrefixTableThe table of multiple units.
Returns
- IPrefixUnit
The unit with the Mega prefix or the default value.