dotnet add package SmartFormat.NET --version 3.2.2
NuGet\Install-Package SmartFormat.NET -Version 3.2.2
<PackageReference Include="SmartFormat.NET" Version="3.2.2" />
paket add SmartFormat.NET --version 3.2.2
#r "nuget: SmartFormat.NET, 3.2.2"
// Install SmartFormat.NET as a Cake Addin #addin nuget:?package=SmartFormat.NET&version=3.2.2 // Install SmartFormat.NET as a Cake Tool #tool nuget:?package=SmartFormat.NET&version=3.2.2
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.
- High performance with low memory footprint
- Minimal, intuitive syntax
- Formatting takes place exclusively at runtime
- Exact control of whitespace text output
string.Formatcompatibility mode and
- 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
- .Net Framework 4.6.1 and later
- .Net Standard 2.0
- .Net Standard 2.1 and later for best optimizations
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard2.0 is compatible. netstandard2.1 is compatible.|
|.NET Framework||net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
NuGet packages (55)
Showing the top 5 NuGet packages that depend on SmartFormat.NET:
The C# SDK for the Messaging Hub
Elephant storage library
Elephant storage library
BLiP C# client
GitHub repositories (13)
Showing the top 5 popular GitHub repositories that depend on SmartFormat.NET:
Windows tray utility / filesystem watcher / launcher for Syncthing
A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
A simple recipe for .NET Core microservices.
DSLR camera remote control open source software
LocalizationExtension is a the easy way to localize any type of DependencyProperties or native Properties on DependencyObjects
See the change log for details of this release: