ktsu.DelegateTransform
1.0.1-pre.3
Prefix Reserved
See the version list below for details.
dotnet add package ktsu.DelegateTransform --version 1.0.1-pre.3
NuGet\Install-Package ktsu.DelegateTransform -Version 1.0.1-pre.3
<PackageReference Include="ktsu.DelegateTransform" Version="1.0.1-pre.3" />
<PackageVersion Include="ktsu.DelegateTransform" Version="1.0.1-pre.3" />
<PackageReference Include="ktsu.DelegateTransform" />
paket add ktsu.DelegateTransform --version 1.0.1-pre.3
#r "nuget: ktsu.DelegateTransform, 1.0.1-pre.3"
#:package ktsu.DelegateTransform@1.0.1-pre.3
#addin nuget:?package=ktsu.DelegateTransform&version=1.0.1-pre.3&prerelease
#tool nuget:?package=ktsu.DelegateTransform&version=1.0.1-pre.3&prerelease
DelegateTransform
DelegateTransform is a utility library for transforming values using delegates in C#. It provides methods to apply transformations using ActionRef
, Func
, and FuncRef
delegates.
Installation
To install DelegateTransform, add the following package to your project:
dotnet add package DelegateTransform
Usage
With ActionRef
The With
method can be used with an ActionRef
delegate to modify the input value by reference.
int input = 5; DelegateTransform.With(input, (ref int x) => x *= 2); // input is now 10
With Func
The With
method can be used with a Func
delegate to transform the input value.
int input = 5; int result = DelegateTransform.With(input, (int x) => x * 2); // result is 10
With FuncRef
The With
method can be used with a FuncRef
delegate to transform the input value by reference.
int input = 5; DelegateTransform.With(input, (ref int x) => x *= 2); // input is now 10
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any changes.
License
DelegateTransform is licensed under the MIT license. See the LICENSE file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- ktsu.ScopedAction (>= 1.0.14)
-
net9.0
- ktsu.ScopedAction (>= 1.0.14)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.1.3 | 193 | 5/21/2025 |
1.1.3-pre.17 | 129 | 5/20/2025 |
1.1.3-pre.15 | 87 | 5/17/2025 |
1.1.3-pre.14 | 135 | 5/16/2025 |
1.1.3-pre.13 | 210 | 5/15/2025 |
1.1.3-pre.12 | 211 | 5/14/2025 |
1.1.3-pre.11 | 211 | 5/13/2025 |
1.1.3-pre.10 | 243 | 5/12/2025 |
1.1.3-pre.9 | 171 | 5/11/2025 |
1.1.3-pre.8 | 116 | 5/10/2025 |
1.1.3-pre.7 | 56 | 5/9/2025 |
1.1.3-pre.6 | 125 | 5/8/2025 |
1.1.3-pre.5 | 127 | 5/7/2025 |
1.1.3-pre.4 | 125 | 5/6/2025 |
1.1.3-pre.3 | 128 | 5/5/2025 |
1.1.3-pre.2 | 131 | 5/4/2025 |
1.1.3-pre.1 | 127 | 5/4/2025 |
1.1.2 | 122 | 5/4/2025 |
1.1.2-pre.2 | 67 | 4/26/2025 |
1.1.2-pre.1 | 120 | 4/4/2025 |
1.1.1 | 180 | 3/30/2025 |
1.1.0 | 163 | 3/30/2025 |
1.0.2-pre.3 | 81 | 3/29/2025 |
1.0.2-pre.2 | 461 | 3/25/2025 |
1.0.2-pre.1 | 86 | 2/18/2025 |
1.0.1 | 132 | 2/18/2025 |
1.0.1-pre.16 | 80 | 2/6/2025 |
1.0.1-pre.15 | 78 | 2/5/2025 |
1.0.1-pre.14 | 75 | 2/5/2025 |
1.0.1-pre.13 | 70 | 2/3/2025 |
1.0.1-pre.12 | 76 | 2/3/2025 |
1.0.1-pre.11 | 77 | 2/1/2025 |
1.0.1-pre.10 | 72 | 1/30/2025 |
1.0.1-pre.9 | 80 | 1/28/2025 |
1.0.1-pre.8 | 75 | 1/26/2025 |
1.0.1-pre.7 | 70 | 1/24/2025 |
1.0.1-pre.6 | 75 | 1/22/2025 |
1.0.1-pre.5 | 65 | 1/20/2025 |
1.0.1-pre.4 | 64 | 1/18/2025 |
1.0.1-pre.3 | 65 | 1/16/2025 |
1.0.1-pre.2 | 57 | 1/14/2025 |
1.0.1-pre.1 | 68 | 1/13/2025 |
1.0.0 | 123 | 1/10/2025 |
0.0.1-pre.1 | 69 | 1/11/2025 |
## v0.0.1-pre.1 (patch)
Changes since 0.0.0.0:
- Add AllowEmptyCollection attribute to SEARCH_TAGS parameter in MakeNotesForRange function ([@matt-edmondson](https://github.com/matt-edmondson))
- Enable debugging trace in changelog and version scripts ([@matt-edmondson](https://github.com/matt-edmondson))
- Enhance GitHub Actions workflow by enabling LFS and fetching tags ([@matt-edmondson](https://github.com/matt-edmondson))
- Fix formatting issues and handle empty tag scenarios in changelog script ([@matt-edmondson](https://github.com/matt-edmondson))
- Initial commit ([@matt-edmondson](https://github.com/matt-edmondson))
- Refactor tag handling in changelog and version scripts to ensure default values are set correctly when no tags are found ([@matt-edmondson](https://github.com/matt-edmondson))
- Set default version to 'v1.0.0-pre.0' if no tags are found ([@matt-edmondson](https://github.com/matt-edmondson))