SmartFormat.NET 3.2.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Standard 2.0 .NET Framework 4.6.1
dotnet add package SmartFormat.NET --version 3.2.1
NuGet\Install-Package SmartFormat.NET -Version 3.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SmartFormat.NET" Version="3.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartFormat.NET --version 3.2.1
#r "nuget: SmartFormat.NET, 3.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SmartFormat.NET as a Cake Addin
#addin nuget:?package=SmartFormat.NET&version=3.2.1

// Install SmartFormat.NET as a Cake Tool
#tool nuget:?package=SmartFormat.NET&version=3.2.1

SmartFormat

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 and Smart.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

Supported Frameworks

  • .Net Framework 4.6.1 and later
  • .Net Standard 2.0
  • .Net Standard 2.1 and later for best optimizations

Paypal-Donations

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (52)

Showing the top 5 NuGet packages that depend on SmartFormat.NET:

Package Downloads
Takenet.MessagingHub.Client

The C# SDK for the Messaging Hub

Take.Elephant

Elephant storage library

Take.Blip.Client

BLiP C# client

Takenet.Elephant

Elephant storage library

Takenet.MessagingHub.Client.InfoEntertainmentExtensions

Messaging Hub Client Extensions - Take.net InfoEntertainment Team

GitHub repositories (12)

Showing the top 5 popular GitHub repositories that depend on SmartFormat.NET:

Repository Stars
canton7/SyncTrayzor
Windows tray utility / filesystem watcher / launcher for Syncthing
axuno/SmartFormat
A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
snatch-dev/Convey
A simple recipe for .NET Core microservices.
dukus/digiCamControl
DSLR camera remote control open source software
XAMLMarkupExtensions/WPFLocalizeExtension
LocalizationExtension is a the easy way to localize any type of DependencyProperties or native Properties on DependencyObjects
Version Downloads Last updated
3.2.1 6,723 2/19/2023
3.2.0 118,364 9/18/2022
3.1.0 182,536 5/17/2022
3.0.0 117,913 3/14/2022
3.0.0-rc.2 1,495 2/15/2022
3.0.0-rc.1 1,588 2/1/2022
3.0.0-alpha.5 1,090 12/3/2021
3.0.0-alpha.4 1,744 10/25/2021
3.0.0-alpha.3 968 9/20/2021
3.0.0-alpha.2 674 9/5/2021
3.0.0-alpha.1 2,457 8/29/2021
2.7.3 51,595 6/28/2022
2.7.2 162,900 12/26/2021
2.7.1 156,528 10/21/2021
2.7.0 776,343 4/10/2021
2.6.2 213,549 2/17/2021
2.6.1 5,766 2/12/2021
2.5.3 541,765 11/10/2020
2.5.3-preview1 2,180 11/2/2020
2.5.2 315,586 6/16/2020
2.5.1 12,987 6/9/2020
2.5.0 586,737 11/2/2019
2.4.2 902,953 2/9/2019
2.4.1 35,166 1/5/2019
2.4.0 8,508 1/4/2019
2.3.1.1 133,820 11/15/2018
2.3.0 499,620 6/13/2018
2.2.0 118,126 2/17/2018
2.1.0.2 732,131 8/15/2017
2.1.0.1 306,059 6/27/2017
2.0.0 273,310 12/4/2016
1.7.1.1 12,912 11/28/2016
1.6.1 110,509 3/4/2015
1.6.0 3,243 3/4/2015
1.5.0 3,255 2/12/2015
1.4.0 1,962 2/12/2015
1.3.0 1,962 2/12/2015
1.2.0 6,242 2/7/2015
1.1.0 25,375 2/20/2014
1.0.0 11,158 5/15/2013

See the change log for details of this release:
           https://github.com/axuno/SmartFormat/blob/main/CHANGES.md