SmartFormat 3.5.3
What is SmartFormat?
SmartFormat is a lightweight text templating library written in C#.
It can format various data sources into a string with a minimal, intuitive syntax similar to string.Format. All formatting takes place at runtime.
SmartFormat uses extensions to provide named placeholders, localization, pluralization, gender conjugation, as well as list and time formatting. Formatting extensions can be nested.
Custom source or formatter extensions can be added easily using simple interfaces.
Features
- High performance with low memory footprint
- Minimal, intuitive syntax
- Formatting takes place exclusively at runtime
- Exact control of whitespace text output
string.Format
compatibility mode andSmart.Format
enhanced mode- Most common data sources work out-of-the-box
- Many built-in formatting extensions
- Custom formatting and source extensions are easy to integrate
- Comprehensive documentation: current Wiki, complete xmldoc
Note
Use .Net Standard 2.1 and later for best optimizations
Showing the top 20 packages that depend on SmartFormat.
Packages | Downloads |
---|---|
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
|
8 |
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
|
9 |
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
|
10 |
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
|
11 |
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
|
12 |
Please see release notes on GitHub:
https://github.com/axuno/SmartFormat/releases/
.NET Framework 4.6.2
- System.Memory (>= 4.6.0)
- System.ValueTuple (>= 4.5.0)
- ZString (>= 2.6.0)
.NET 6.0
- ZString (>= 2.6.0)
.NET 8.0
- ZString (>= 2.6.0)
.NET Standard 2.0
- System.Memory (>= 4.6.0)
- System.ValueTuple (>= 4.5.0)
- ZString (>= 2.6.0)
.NET Standard 2.1
- ZString (>= 2.6.0)
Version | Downloads | Last updated |
---|---|---|
3.5.3 | 1 | 01/27/2025 |
3.5.2 | 3 | 12/27/2024 |
3.5.1 | 6 | 11/27/2024 |
3.5.0 | 5 | 12/01/2024 |
3.4.0 | 13 | 05/30/2024 |
3.3.2 | 8 | 05/30/2024 |
3.3.1 | 9 | 05/30/2024 |
3.3.0 | 10 | 05/30/2024 |
3.2.2 | 9 | 05/30/2024 |
3.2.1 | 7 | 05/30/2024 |
3.2.0 | 9 | 05/30/2024 |
3.1.0 | 8 | 05/30/2024 |
3.0.0 | 9 | 05/30/2024 |
3.0.0-rc.2 | 9 | 05/30/2024 |
3.0.0-rc.1 | 13 | 05/30/2024 |