コード例 #1
0
 /// <summary>
 /// Gets the <see cref="Utility.ConversionTable"/> that has the type <paramref name="conversionType"/>
 /// </summary>
 /// <param name="conversionType">The type of unit conversion the table performs.</param>
 /// <returns>A <see cref="Utility.ConversionTable"/> with the appropriate <paramref name="conversionType"/></returns>
 public ConversionTable GetConversionTable(string conversionType)
 => TableData.FirstOrDefault(table => table.ConversionType.Equals(conversionType));