/// <summary> /// Gets the unit. /// </summary> /// <param name="uom">The uom.</param> /// <returns>The unit of measure enumeration name.</returns> public static string GetUnit(UnitOfMeasure uom) { return(uom.GetName()); }