StringTokenFormatter 2.0.2
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package StringTokenFormatter --version 2.0.2
NuGet\Install-Package StringTokenFormatter -Version 2.0.2
<PackageReference Include="StringTokenFormatter" Version="2.0.2" />
paket add StringTokenFormatter --version 2.0.2
#r "nuget: StringTokenFormatter, 2.0.2"
// Install StringTokenFormatter as a Cake Addin #addin nuget:?package=StringTokenFormatter&version=2.0.2 // Install StringTokenFormatter as a Cake Tool #tool nuget:?package=StringTokenFormatter&version=2.0.2
Provides string extension methods for replacing tokens within strings (using the format '{name}') with their specified lookup value.
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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.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 was computed. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. 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. |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on StringTokenFormatter:
Package | Downloads |
---|---|
SimairaDigital.DevOps.Pipeline.NukeTool
NUKE build system always require pipeline build system to intiate this. |
|
FowlFever.Conjugal
Structs and annotations for producing nice word conjugations and other linguistic metadata, such as abbreviations, units of measure, and terms of venery. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.0.1 | 35,509 | 3/19/2024 |
9.0.0 | 1,508 | 3/10/2024 |
8.0.0 | 161,068 | 1/15/2024 |
7.3.0 | 7,158 | 12/12/2023 |
7.2.0 | 2,977 | 12/5/2023 |
7.1.0 | 3,549 | 11/13/2023 |
7.0.0 | 1,190 | 10/29/2023 |
6.1.0 | 44,572 | 6/13/2023 |
4.1.0 | 676,003 | 12/2/2020 |
4.0.0 | 255,095 | 7/19/2019 |
3.1.0 | 817,838 | 4/1/2019 |
3.0.0 | 1,931 | 3/5/2019 |
2.0.8 | 3,807 | 1/22/2019 |
2.0.7 | 11,921 | 11/2/2018 |
2.0.6 | 10,589 | 12/22/2017 |
2.0.5 | 1,578 | 12/22/2017 |
2.0.4 | 1,539 | 12/22/2017 |
2.0.3 | 7,378 | 12/4/2017 |
2.0.2 | 6,991 | 12/4/2017 |
2.0.1 | 7,022 | 12/4/2017 |
2.0.0 | 6,939 | 12/4/2017 |
1.7.0 | 1,430 | 10/31/2017 |
1.6.1 | 4,248 | 6/9/2017 |
1.6.0 | 3,478 | 12/3/2015 |
1.5.1 | 1,600 | 7/1/2015 |
1.5.0 | 1,524 | 7/1/2015 |
1.4.0 | 1,461 | 6/18/2015 |
1.3.0 | 1,740 | 1/8/2015 |
1.2.0 | 1,885 | 1/7/2015 |
2.0.2
- Reordered constructor parameters of TokenReplacer to match workflow
2.0.1
- Added Uri extension methods (FormatToken)
- MapTokens method is now public to allow for further customisation
2.0.0
- Reworked pipeline so that each step (match, value lookup, value format) is configurable via an interface
- Removed FormatPreview as we are no longer building a complete input for string.format
- IFormatProvider is now passed via constructor
- String.FormatToken interface renames the same so compatibility should be retained
- Added mappings for Func<string> and Func<object> whereby the token isn't passed as an input
- Mapping should now be consistent between all the different format methods
1.7.0
- Added .net Standard 2.0 implementation
1.6.1
- Fixed issue whereby orphan starting tokens were stopping actual tokens from being matched
1.6.0
- Alternative token markers can now used
1.5.1
- Bug fix on empty string when calling Format method
1.5.0
- Added support for Lazy<string, object>, Lazy<string, string>, Func<string, string>
- Added format preview (to show the string.Format pattern rather than the result)
1.4.0
- Added support for Func<string, object> as token value to support on-demand lookups
1.3.0
- Added specific extension methods for IDictionary<string, string>
1.2.0
- Added support for alignment padding
1.1.0
- Updated to use string.format internally so that non-string value types can be formatted (e.g. {token:D4})
- Allowed format provider to be specified
- Provided overload to allow for anonymous objects to be used
1.0.0
- Initial version.