SmartFormat.NET 3.1.0 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
Install-Package SmartFormat.NET -Version 3.1.0
dotnet add package SmartFormat.NET --version 3.1.0
<PackageReference Include="SmartFormat.NET" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartFormat.NET --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SmartFormat.NET, 3.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1.0

// Install SmartFormat.NET as a Cake Tool
#tool nuget:?package=SmartFormat.NET&version=3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
.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
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 (46)

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

Package Downloads
Takenet.MessagingHub.Client

The C# SDK for the Messaging Hub

Take.Blip.Client

BLiP C# client

Take.Elephant

Elephant storage library

Takenet.Elephant

Elephant storage library

Takenet.MessagingHub.Client.InfoEntertainmentExtensions

Messaging Hub Client Extensions - Take.net InfoEntertainment Team

GitHub repositories (11)

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.1.0 15,658 5/17/2022
3.0.0 29,987 3/14/2022
3.0.0-rc.2 1,183 2/15/2022
3.0.0-rc.1 1,455 2/1/2022
3.0.0-alpha.5 1,055 12/3/2021
3.0.0-alpha.4 1,681 10/25/2021
3.0.0-alpha.3 940 9/20/2021
3.0.0-alpha.2 647 9/5/2021
3.0.0-alpha.1 2,174 8/29/2021
2.7.3 66 6/28/2022
2.7.2 68,230 12/26/2021
2.7.1 79,532 10/21/2021
2.7.0 452,273 4/10/2021
2.6.2 134,925 2/17/2021
2.6.1 4,320 2/12/2021
2.5.3 333,039 11/10/2020
2.5.3-preview1 2,154 11/2/2020
2.5.2 262,527 6/16/2020
2.5.1 10,634 6/9/2020
2.5.0 459,938 11/2/2019
2.4.2 631,194 2/9/2019
2.4.1 30,109 1/5/2019
2.4.0 3,103 1/4/2019
2.3.1.1 101,703 11/15/2018
2.3.0 371,591 6/13/2018
2.2.0 106,495 2/17/2018
2.1.0.2 574,425 8/15/2017
2.1.0.1 225,726 6/27/2017
2.0.0 227,935 12/4/2016
1.7.1.1 11,439 11/28/2016
1.6.1 96,481 3/4/2015
1.6.0 3,099 3/4/2015
1.5.0 3,004 2/12/2015
1.4.0 1,838 2/12/2015
1.3.0 1,841 2/12/2015
1.2.0 5,908 2/7/2015
1.1.0 22,658 2/20/2014
1.0.0 10,720 5/15/2013

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