Ejemplo n.º 1
0
 /// <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)
 {
 }
Ejemplo n.º 2
0
 /// <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;
 }