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
Metric and binary prefix for units of measurement https://en.wikipedia.org/wiki/Metric_prefix https://en.wikipedia.org/wiki/Binary_prefix
For example: With configuration class:
class Conf { public long MaxSize; }
Section
<Conf MaxSize='1Ki' />
Parsed to
settings.Get<Conf>("Conf").MaxSize == 1024
<Conf MaxSize='0.5Ki' />
settings.Get<Conf>("Conf").MaxSize == 512
<Conf MaxSize='1K' />
settings.Get<Conf>("Conf").MaxSize == 1000
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Metric and binary prefix for units of measurement
https://en.wikipedia.org/wiki/Metric_prefix
https://en.wikipedia.org/wiki/Binary_prefix
For example:
With configuration class:
Section
Parsed to
Section
Parsed to
Section
Parsed to
The text was updated successfully, but these errors were encountered: