Sharpify 1.7.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Sharpify --version 1.7.3
NuGet\Install-Package Sharpify -Version 1.7.3
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="Sharpify" Version="1.7.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sharpify --version 1.7.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sharpify, 1.7.3"
#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 Sharpify as a Cake Addin
#addin nuget:?package=Sharpify&version=1.7.3
// Install Sharpify as a Cake Tool
#tool nuget:?package=Sharpify&version=1.7.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CHANGELOG
v1.7.3
- Made improvements to all
IDisposable
implementing types making theirDispose
implementations idempotent (consecutive calls will just be ignored, eliminating exceptions that can occur when misused). - Added a new
AsyncLocal<IList<T>>
extensionForEach
overload that uses a synchronousIAction<T>
implementation, it should be the more modern approach to executing synchronous but parallel actions, it also has parameters fordegreeOfParallelism
andcancellationToken
, and it also returns aValueTask
, which means you should await it, and you can attempt to cancel it if you want. It should also perform a bit better as now it is using a partitioner internally. In the case of performing synchronous operations on parallel, there is less room for speed optimization that can occur by jumping between tasks when a task is just waiting like it is possible in async, here your main tool to optimize will be the figure out the right amount ofdegreeOfParallelism
, taking into account the capabilities of the system and complexity of each action. Nevertheless, the default (-1) is not a bad baseline.- If you want the call site to be sync as well, use the "older"
ForEach
Concurrent
overload, as calling the newValueTask
overload in a non-async context, will degrade performance.
- If you want the call site to be sync as well, use the "older"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. 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 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Sharpify:
Package | Downloads |
---|---|
Sharpify.Data
An extension of Sharpify, focused on Data |
|
Sharpify.CommandLineInterface
An extension of Sharpify, focused on creating command line interfaces |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 83 | 6/3/2024 |
1.8.1 | 77 | 5/30/2024 |
1.8.0 | 94 | 4/17/2024 |
1.7.3 | 131 | 1/29/2024 |
1.7.2 | 89 | 1/23/2024 |
1.7.1 | 177 | 1/20/2024 |
1.7.0 | 77 | 1/20/2024 |
1.6.0 | 100 | 1/15/2024 |
1.5.0 | 93 | 1/10/2024 |
1.4.2 | 98 | 1/8/2024 |
1.4.1 | 126 | 1/4/2024 |
1.4.0 | 109 | 1/4/2024 |
1.3.1 | 107 | 12/31/2023 |
1.3.0 | 112 | 12/31/2023 |
1.2.0 | 114 | 12/24/2023 |
1.1.0 | 135 | 12/7/2023 |
1.0.9 | 96 | 12/7/2023 |
1.0.8 | 135 | 11/22/2023 |
1.0.7 | 109 | 9/23/2023 |
1.0.6 | 131 | 8/21/2023 |
1.0.5 | 148 | 5/4/2023 |
1.0.4 | 138 | 4/23/2023 |
1.0.3 | 150 | 4/19/2023 |
1.0.2 | 146 | 4/19/2023 |
1.0.1 | 159 | 4/14/2023 |
1.0.0 | 156 | 4/14/2023 |