Skip to content
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

Add support for int on PropertyCollection #248

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

IchimakiKasura
Copy link

Just found this cool ini-parser but I've encountered little problem while working on my project.
image
On the single Section I have many properties which by the way has long names.

So my PR would be adding an INT or Numbers support to look like this
image
Which is also can be used when using a Loop when having too many properties on a section.

I hope my code changes helps!

@IchimakiKasura
Copy link
Author

Also added automatic return type and fixed my mistakes on the first commit because it was only returning the KeyName and not the KeyValue
image

So that it no longer requires int.Parse because it automatically does it.

IchimakiKasura added a commit to IchimakiKasura/Launcher-DL-3 that referenced this pull request Mar 2, 2023
So the IniParser repo has some annoying weird thing like It wont return the actual type

I actually modified it and also added support by Int search other than the string

I already did a PR check below:
rickyah/ini-parser#248
Added TryParse on IniDataParser
causes weird issue when reading single decimals.
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