We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The Unit 'Ohm' is now unknown.
To Reproduce Enum unitOhm = UnitParser.Default.Parse("Ohm", typeof(ElectricResistanceUnit));
Expected behavior Support of ElectricResistanceUnit from mOhm to TOhm.
Screenshots UnitsNet.UnitNotFoundException: "Unit not found with abbreviation [Ohm] for unit type [UnitsNet.Units.ElectricResistanceUnit].".
Additional context
The text was updated successfully, but these errors were encountered:
Did this ever work? In what version?
The abbreviation is defined as Ω in JSON. https://github.com/angularsen/UnitsNet/blob/master/Common/UnitDefinitions/ElectricResistance.json#L11-L22
Ω
// Throws // UnitParser.Default.Parse("Ohm", typeof(ElectricResistanceUnit)) // OK UnitParser.Default.Parse("Ω", typeof(ElectricResistanceUnit))
Sorry, something went wrong.
No branches or pull requests
Describe the bug
The Unit 'Ohm' is now unknown.
To Reproduce
Enum unitOhm = UnitParser.Default.Parse("Ohm", typeof(ElectricResistanceUnit));
Expected behavior
Support of ElectricResistanceUnit from mOhm to TOhm.
Screenshots
UnitsNet.UnitNotFoundException: "Unit not found with abbreviation [Ohm] for unit type [UnitsNet.Units.ElectricResistanceUnit].".
Additional context
The text was updated successfully, but these errors were encountered: