/// <summary> /// Initializes a new instance of the <see cref="NotationBaseUnit"/> class. /// </summary> /// <param name="notation">The notation.</param> /// <param name="prefixedBaseUnit">The prefixed base unit.</param> public NotationBaseUnit(string notation, PrefixedBaseUnit prefixedBaseUnit) : this(null, notation, prefixedBaseUnit) { }
/// <summary> /// Initializes a new instance of the <see cref="NotationBaseUnit"/> class. /// </summary> /// <param name="prefix">The prefix.</param> /// <param name="notation">The notation.</param> /// <param name="prefixedBaseUnit">The prefixed base unit.</param> public NotationBaseUnit(Prefix prefix, string notation, PrefixedBaseUnit prefixedBaseUnit) { this.prefix = prefix ?? Prefix.None; this.notation = notation; this.prefixedBaseUnit = prefixedBaseUnit; }