StringTokenFormatter 2.0.4
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package StringTokenFormatter --version 2.0.4
NuGet\Install-Package StringTokenFormatter -Version 2.0.4
<PackageReference Include="StringTokenFormatter" Version="2.0.4" />
paket add StringTokenFormatter --version 2.0.4
#r "nuget: StringTokenFormatter, 2.0.4"
// Install StringTokenFormatter as a Cake Addin #addin nuget:?package=StringTokenFormatter&version=2.0.4 // Install StringTokenFormatter as a Cake Tool #tool nuget:?package=StringTokenFormatter&version=2.0.4
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 | 34,890 | 3/19/2024 |
9.0.0 | 1,506 | 3/10/2024 |
8.0.0 | 159,492 | 1/15/2024 |
7.3.0 | 7,145 | 12/12/2023 |
7.2.0 | 2,975 | 12/5/2023 |
7.1.0 | 3,541 | 11/13/2023 |
7.0.0 | 1,184 | 10/29/2023 |
6.1.0 | 44,485 | 6/13/2023 |
4.1.0 | 675,403 | 12/2/2020 |
4.0.0 | 254,896 | 7/19/2019 |
3.1.0 | 814,690 | 4/1/2019 |
3.0.0 | 1,929 | 3/5/2019 |
2.0.8 | 3,805 | 1/22/2019 |
2.0.7 | 11,917 | 11/2/2018 |
2.0.6 | 10,586 | 12/22/2017 |
2.0.5 | 1,576 | 12/22/2017 |
2.0.4 | 1,537 | 12/22/2017 |
2.0.3 | 7,376 | 12/4/2017 |
2.0.2 | 6,989 | 12/4/2017 |
2.0.1 | 7,020 | 12/4/2017 |
2.0.0 | 6,937 | 12/4/2017 |
1.7.0 | 1,428 | 10/31/2017 |
1.6.1 | 4,238 | 6/9/2017 |
1.6.0 | 3,476 | 12/3/2015 |
1.5.1 | 1,598 | 7/1/2015 |
1.5.0 | 1,522 | 7/1/2015 |
1.4.0 | 1,459 | 6/18/2015 |
1.3.0 | 1,738 | 1/8/2015 |
1.2.0 | 1,883 | 1/7/2015 |
2.0.4
- Assembly is now signed
2.0.3
- Relative URLs are now supported
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.