Esempio n. 1
0
 /// <summary>
 ///     Get information about the given quantity type.
 /// </summary>
 /// <param name="quantityType">The quantity type enum value.</param>
 /// <returns>Information about the quantity and its units.</returns>
 public static QuantityInfo GetInfo(QuantityType quantityType)
 {
     return(Infos.First(qi => qi.QuantityType == quantityType));
 }