Exemplo n.º 1
0
 private void ThrowInvalidOperationException(UnitType sourceUnitType, UnitType targetUnitType)
 {
     throw new InvalidOperationException(string.Format("{0} unit could not be converted to {1}", sourceUnitType.Description(), targetUnitType.Description()));
 }