Skip to content

Making the QuantityInfoLookup public #1597

New issue

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lipchev
Copy link
Collaborator

@lipchev lipchev commented Aug 3, 2025

  • making the QuantityInfoLookup type public
  • exposing the Quantities associated with a given UnitParser and UnitAbbreviationsCache
  • exposing the QuantityInfoLookup property of the UnitsNetSetup

- exposing the Quantities associated with a given UnitParser and UnitAbbreviationsCache
@lipchev
Copy link
Collaborator Author

lipchev commented Aug 3, 2025

@angularsen I don't see any reason to hold this one internal, but other than the utility functions it provides to the user, there isn't any particular requirement for it to be public.

Comment on lines -91 to -94
/// <remarks>
/// Access type is <c>internal</c> until this class is matured and ready for external use.
/// </remarks>
internal QuantityInfoLookup QuantityInfoLookup { get; }
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't got any burning need to rename this, but it would perhaps make it more consistent if we used Quantities as the property name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant