Soenneker.Utils.Cancellation
2.1.258
Prefix Reserved
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 Soenneker.Utils.Cancellation --version 2.1.258
NuGet\Install-Package Soenneker.Utils.Cancellation -Version 2.1.258
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="Soenneker.Utils.Cancellation" Version="2.1.258" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Utils.Cancellation --version 2.1.258
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.Cancellation, 2.1.258"
#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 Soenneker.Utils.Cancellation as a Cake Addin #addin nuget:?package=Soenneker.Utils.Cancellation&version=2.1.258 // Install Soenneker.Utils.Cancellation as a Cake Tool #tool nuget:?package=Soenneker.Utils.Cancellation&version=2.1.258
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Utils.Cancellation
A utility library allowing for easy CancellationToken usage
Installation
dotnet add package Soenneker.Utils.Cancellation
Usage
- Register the interop within DI (
Program.cs
).
public static async Task Main(string[] args)
{
...
builder.Services.AddCancellationUtil();
}
- Inject
ICancellationUtil
where you wish to set theCancellationToken
(typically from an API Controller)
_cancellationUtil.Set(cancellationToken);
- Inject
ICancellationUtil
where you wish to retrieve theCancellationToken
(typically when accessing another API, or database etc):
// is not guaranteed to be non-null (if it never was set within scope), but is specified thus for ease of use
var cancellationUtil = _cancellationUtil.Get();
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 | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyInjection (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.1)
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 |
---|---|---|
2.1.313 | 57 | 9/17/2024 |
2.1.312 | 51 | 9/17/2024 |
2.1.311 | 51 | 9/17/2024 |
2.1.310 | 47 | 9/17/2024 |
2.1.309 | 51 | 9/17/2024 |
2.1.308 | 51 | 9/17/2024 |
2.1.307 | 59 | 9/16/2024 |
2.1.306 | 66 | 9/12/2024 |
2.1.305 | 84 | 9/11/2024 |
2.1.303 | 71 | 9/11/2024 |
2.1.302 | 71 | 9/10/2024 |
2.1.301 | 64 | 9/10/2024 |
2.1.300 | 61 | 9/10/2024 |
2.1.299 | 70 | 9/10/2024 |
2.1.298 | 57 | 9/9/2024 |
2.1.297 | 60 | 9/9/2024 |
2.1.296 | 67 | 9/9/2024 |
2.1.295 | 64 | 9/9/2024 |
2.1.294 | 66 | 9/9/2024 |
2.1.293 | 62 | 9/6/2024 |
2.1.292 | 79 | 9/6/2024 |
2.1.291 | 68 | 9/5/2024 |
2.1.290 | 62 | 9/5/2024 |
2.1.289 | 70 | 9/5/2024 |
2.1.288 | 71 | 9/5/2024 |
2.1.287 | 66 | 9/5/2024 |
2.1.286 | 66 | 9/5/2024 |
2.1.285 | 80 | 9/4/2024 |
2.1.284 | 60 | 9/3/2024 |
2.1.283 | 69 | 9/3/2024 |
2.1.282 | 64 | 9/3/2024 |
2.1.281 | 65 | 9/3/2024 |
2.1.280 | 70 | 8/29/2024 |
2.1.279 | 79 | 8/26/2024 |
2.1.278 | 92 | 8/21/2024 |
2.1.277 | 89 | 8/21/2024 |
2.1.276 | 87 | 8/20/2024 |
2.1.275 | 94 | 8/20/2024 |
2.1.274 | 84 | 8/20/2024 |
2.1.273 | 89 | 8/19/2024 |
2.1.272 | 94 | 8/15/2024 |
2.1.271 | 77 | 8/13/2024 |
2.1.270 | 61 | 8/6/2024 |
2.1.269 | 53 | 8/6/2024 |
2.1.268 | 67 | 8/1/2024 |
2.1.267 | 66 | 8/1/2024 |
2.1.266 | 64 | 8/1/2024 |
2.1.265 | 38 | 7/25/2024 |
2.1.264 | 51 | 7/25/2024 |
2.1.263 | 49 | 7/25/2024 |
2.1.262 | 50 | 7/24/2024 |
2.1.261 | 38 | 7/24/2024 |
2.1.260 | 147 | 7/20/2024 |
2.1.259 | 90 | 7/14/2024 |
2.1.258 | 65 | 7/14/2024 |
2.1.256 | 84 | 7/10/2024 |
2.1.255 | 72 | 7/10/2024 |
2.1.254 | 42 | 7/10/2024 |
2.1.253 | 67 | 7/10/2024 |
2.1.252 | 56 | 7/10/2024 |
2.1.251 | 82 | 7/10/2024 |
2.1.250 | 47 | 7/9/2024 |
2.1.249 | 57 | 7/9/2024 |
2.1.248 | 51 | 7/9/2024 |
2.1.247 | 70 | 7/9/2024 |
2.1.246 | 68 | 7/9/2024 |
2.1.245 | 81 | 7/9/2024 |
2.1.244 | 44 | 7/9/2024 |
2.1.243 | 84 | 7/9/2024 |
2.1.242 | 72 | 7/8/2024 |
2.1.241 | 73 | 7/8/2024 |
2.1.240 | 81 | 7/8/2024 |
2.1.239 | 75 | 7/7/2024 |
2.1.238 | 107 | 7/7/2024 |
2.1.237 | 1,120 | 7/3/2024 |
2.1.236 | 59 | 7/3/2024 |
2.1.235 | 1,452 | 6/22/2024 |
2.1.234 | 738 | 6/15/2024 |
2.1.233 | 261 | 6/15/2024 |
2.1.232 | 731 | 6/14/2024 |
2.1.231 | 805 | 6/1/2024 |
2.1.230 | 147 | 6/1/2024 |
2.1.229 | 327 | 6/1/2024 |
2.1.228 | 974 | 5/31/2024 |
2.1.227 | 666 | 5/29/2024 |
2.1.226 | 577 | 5/28/2024 |
2.1.225 | 319 | 5/27/2024 |
2.1.224 | 656 | 5/26/2024 |
2.1.223 | 593 | 5/26/2024 |
2.1.222 | 357 | 5/26/2024 |
2.1.221 | 236 | 5/26/2024 |
2.1.220 | 248 | 5/25/2024 |
2.1.219 | 573 | 5/25/2024 |
2.1.218 | 142 | 5/25/2024 |
2.1.217 | 334 | 5/25/2024 |
2.1.216 | 333 | 5/25/2024 |
2.1.215 | 613 | 5/23/2024 |
2.1.214 | 422 | 5/23/2024 |
2.1.213 | 395 | 5/22/2024 |
2.1.212 | 237 | 5/22/2024 |
2.1.211 | 269 | 5/22/2024 |
2.1.210 | 1,044 | 5/18/2024 |
2.1.209 | 457 | 5/17/2024 |
2.1.208 | 251 | 5/17/2024 |
2.1.207 | 581 | 5/16/2024 |
2.1.206 | 174 | 5/15/2024 |
2.1.205 | 708 | 5/15/2024 |
2.1.204 | 763 | 5/13/2024 |
2.1.203 | 892 | 4/29/2024 |
2.1.202 | 230 | 4/29/2024 |
2.1.201 | 743 | 4/28/2024 |
2.1.200 | 253 | 4/28/2024 |
2.1.199 | 146 | 4/28/2024 |
2.1.198 | 524 | 4/28/2024 |
2.1.197 | 194 | 4/28/2024 |
2.1.196 | 327 | 4/28/2024 |
2.1.195 | 228 | 4/28/2024 |
2.1.194 | 458 | 4/27/2024 |
2.1.193 | 649 | 4/19/2024 |
2.1.192 | 830 | 4/18/2024 |
2.1.191 | 682 | 4/12/2024 |
2.1.190 | 441 | 4/12/2024 |
2.1.189 | 254 | 4/12/2024 |
2.1.188 | 258 | 4/12/2024 |
2.1.187 | 400 | 4/12/2024 |
2.1.186 | 286 | 4/12/2024 |
2.1.185 | 357 | 4/11/2024 |
2.1.184 | 435 | 4/10/2024 |
2.1.183 | 319 | 4/9/2024 |
2.1.182 | 747 | 4/2/2024 |
2.1.181 | 281 | 4/1/2024 |
2.1.180 | 509 | 3/29/2024 |
2.1.179 | 499 | 3/25/2024 |
2.1.178 | 214 | 3/25/2024 |
2.1.177 | 630 | 3/20/2024 |
2.1.176 | 618 | 3/19/2024 |
2.1.175 | 315 | 3/19/2024 |
2.1.174 | 457 | 3/18/2024 |
2.1.173 | 728 | 3/15/2024 |
2.1.172 | 489 | 3/13/2024 |
2.1.171 | 222 | 3/13/2024 |
2.1.170 | 531 | 3/13/2024 |
2.1.169 | 227 | 3/13/2024 |
2.1.168 | 109 | 3/13/2024 |
2.1.167 | 521 | 3/12/2024 |
2.1.166 | 382 | 3/12/2024 |
2.1.165 | 570 | 3/11/2024 |
2.1.164 | 546 | 3/11/2024 |
2.1.163 | 553 | 3/10/2024 |
2.1.162 | 519 | 3/8/2024 |
2.1.161 | 238 | 3/8/2024 |
2.1.160 | 437 | 3/8/2024 |
2.1.159 | 659 | 3/6/2024 |
2.1.158 | 522 | 3/4/2024 |
2.1.157 | 548 | 3/4/2024 |
2.1.156 | 489 | 3/3/2024 |
2.1.155 | 441 | 3/2/2024 |
2.1.154 | 178 | 3/2/2024 |
2.1.153 | 425 | 3/2/2024 |
2.1.152 | 134 | 3/2/2024 |
2.1.151 | 453 | 2/29/2024 |
2.1.150 | 155 | 2/29/2024 |
2.1.149 | 426 | 2/29/2024 |
2.1.148 | 644 | 2/26/2024 |
2.1.147 | 312 | 2/25/2024 |
2.1.146 | 346 | 2/25/2024 |
2.1.145 | 1,302 | 2/23/2024 |
2.1.144 | 456 | 2/22/2024 |
2.1.143 | 294 | 2/22/2024 |
2.1.142 | 488 | 2/21/2024 |
2.1.141 | 479 | 2/21/2024 |
2.1.140 | 402 | 2/21/2024 |
2.1.139 | 244 | 2/21/2024 |
2.1.138 | 219 | 2/21/2024 |
2.1.137 | 91 | 2/21/2024 |
2.1.136 | 1,049 | 2/20/2024 |
2.1.135 | 354 | 2/20/2024 |
2.1.134 | 279 | 2/20/2024 |
2.1.133 | 318 | 2/19/2024 |
2.1.132 | 446 | 2/19/2024 |
2.1.131 | 472 | 2/17/2024 |
2.1.130 | 322 | 2/17/2024 |
2.1.129 | 364 | 2/16/2024 |
2.1.128 | 192 | 2/16/2024 |
2.1.127 | 231 | 2/16/2024 |
2.1.126 | 269 | 2/16/2024 |
2.1.125 | 436 | 2/16/2024 |
2.1.124 | 154 | 2/16/2024 |
2.1.123 | 808 | 2/13/2024 |
2.1.122 | 642 | 2/13/2024 |
2.1.121 | 159 | 2/13/2024 |
2.1.120 | 314 | 2/13/2024 |
2.1.119 | 328 | 2/13/2024 |
2.1.118 | 462 | 2/12/2024 |
2.1.117 | 223 | 2/11/2024 |
2.1.116 | 663 | 2/11/2024 |
2.1.115 | 343 | 2/11/2024 |
2.1.114 | 422 | 2/10/2024 |
2.1.113 | 256 | 2/9/2024 |
2.1.112 | 549 | 2/9/2024 |
2.1.111 | 402 | 2/9/2024 |
2.1.110 | 225 | 2/8/2024 |
2.1.109 | 385 | 2/8/2024 |
2.1.108 | 312 | 2/8/2024 |
2.1.107 | 371 | 2/8/2024 |
2.1.106 | 484 | 2/7/2024 |
2.1.105 | 319 | 2/7/2024 |
2.1.104 | 185 | 2/7/2024 |
2.1.103 | 473 | 2/7/2024 |
2.1.102 | 77 | 2/6/2024 |
2.1.101 | 362 | 2/6/2024 |
2.1.100 | 554 | 2/5/2024 |
2.1.99 | 565 | 2/4/2024 |
2.1.98 | 427 | 2/2/2024 |
2.1.97 | 669 | 1/31/2024 |
2.1.96 | 507 | 1/29/2024 |
2.1.95 | 502 | 1/29/2024 |
2.1.94 | 196 | 1/29/2024 |
2.1.93 | 514 | 1/28/2024 |
2.1.92 | 200 | 1/28/2024 |
2.1.91 | 385 | 1/28/2024 |
2.1.90 | 206 | 1/28/2024 |
2.1.89 | 250 | 1/28/2024 |
2.1.88 | 566 | 1/27/2024 |
2.1.87 | 361 | 1/27/2024 |
2.1.86 | 127 | 1/27/2024 |
2.1.85 | 256 | 1/27/2024 |
2.1.84 | 330 | 1/27/2024 |
2.1.83 | 374 | 1/27/2024 |
2.1.82 | 162 | 1/26/2024 |
2.1.81 | 263 | 1/26/2024 |
2.1.80 | 368 | 1/26/2024 |
2.1.79 | 199 | 1/26/2024 |
2.1.78 | 587 | 1/26/2024 |
2.1.77 | 370 | 1/26/2024 |
2.1.76 | 264 | 1/25/2024 |
2.1.75 | 228 | 1/25/2024 |
2.1.74 | 235 | 1/25/2024 |
2.1.73 | 258 | 1/25/2024 |
2.1.72 | 750 | 1/19/2024 |
2.1.71 | 622 | 1/15/2024 |
2.1.70 | 290 | 1/15/2024 |
2.1.69 | 301 | 1/15/2024 |
2.1.68 | 375 | 1/15/2024 |
2.1.67 | 467 | 1/15/2024 |
2.1.66 | 508 | 1/14/2024 |
2.1.65 | 557 | 1/13/2024 |
2.1.64 | 480 | 1/12/2024 |
2.1.63 | 666 | 1/11/2024 |
2.1.62 | 663 | 1/7/2024 |
2.1.61 | 484 | 1/5/2024 |
2.1.60 | 331 | 1/5/2024 |
2.1.59 | 535 | 1/5/2024 |
2.1.58 | 581 | 1/1/2024 |
2.1.57 | 689 | 12/28/2023 |
2.1.56 | 435 | 12/28/2023 |
2.1.55 | 420 | 12/28/2023 |
2.1.54 | 314 | 12/27/2023 |
2.1.53 | 222 | 12/27/2023 |
2.1.52 | 93 | 12/27/2023 |
2.1.51 | 975 | 12/25/2023 |
2.1.50 | 184 | 12/25/2023 |
2.1.49 | 431 | 12/25/2023 |
2.1.48 | 308 | 12/25/2023 |
2.1.47 | 374 | 12/25/2023 |
2.1.46 | 181 | 12/25/2023 |
2.1.45 | 516 | 12/24/2023 |
2.1.44 | 645 | 12/23/2023 |
2.1.43 | 363 | 12/23/2023 |
2.1.42 | 508 | 12/23/2023 |
2.1.41 | 228 | 12/23/2023 |
2.1.40 | 384 | 12/23/2023 |
2.1.39 | 850 | 12/19/2023 |
2.1.38 | 222 | 12/19/2023 |
2.1.37 | 1,371 | 12/10/2023 |
2.1.36 | 535 | 12/10/2023 |
2.1.35 | 942 | 12/9/2023 |
2.1.34 | 429 | 12/9/2023 |
2.1.33 | 514 | 12/9/2023 |
2.1.32 | 844 | 12/6/2023 |
2.1.31 | 711 | 12/5/2023 |
2.1.30 | 459 | 12/4/2023 |
2.1.29 | 183 | 12/4/2023 |
2.1.28 | 396 | 12/4/2023 |
2.1.27 | 930 | 11/23/2023 |
2.1.26 | 376 | 11/23/2023 |
2.1.25 | 439 | 11/23/2023 |
2.1.24 | 241 | 11/23/2023 |
2.1.23 | 544 | 11/20/2023 |
2.1.22 | 469 | 11/20/2023 |
2.1.21 | 463 | 11/19/2023 |
2.1.20 | 235 | 11/19/2023 |
2.1.19 | 452 | 11/19/2023 |
2.1.18 | 276 | 11/19/2023 |
2.1.17 | 521 | 11/18/2023 |
2.1.16 | 388 | 11/18/2023 |
2.1.15 | 266 | 11/18/2023 |
2.1.14 | 379 | 11/18/2023 |
2.1.13 | 487 | 11/17/2023 |
2.1.12 | 86 | 11/17/2023 |
2.1.11 | 466 | 11/17/2023 |
2.1.10 | 327 | 11/17/2023 |
2.1.9 | 280 | 11/17/2023 |
2.1.8 | 213 | 11/17/2023 |
2.1.7 | 482 | 11/17/2023 |
2.1.6 | 265 | 11/17/2023 |
2.1.5 | 159 | 11/17/2023 |
2.1.4 | 560 | 11/16/2023 |
2.0.82 | 744 | 11/15/2023 |
2.0.81 | 92 | 11/15/2023 |
2.0.80 | 88 | 11/15/2023 |
2.0.79 | 176 | 11/15/2023 |
2.0.3 | 98 | 11/16/2023 |
2.0.2 | 98 | 11/16/2023 |
2.0.1 | 94 | 11/16/2023 |
1.0.78 | 389 | 11/14/2023 |
1.0.77 | 685 | 11/13/2023 |
1.0.76 | 532 | 11/10/2023 |
1.0.75 | 501 | 11/9/2023 |
1.0.74 | 106 | 11/9/2023 |
1.0.73 | 756 | 11/7/2023 |
1.0.72 | 401 | 11/6/2023 |
1.0.71 | 365 | 11/3/2023 |
1.0.70 | 407 | 11/2/2023 |
1.0.69 | 760 | 11/1/2023 |
1.0.68 | 926 | 10/26/2023 |
1.0.67 | 703 | 10/19/2023 |
1.0.66 | 249 | 10/18/2023 |
1.0.65 | 567 | 10/17/2023 |
1.0.64 | 838 | 10/16/2023 |
1.0.63 | 533 | 10/13/2023 |
1.0.62 | 631 | 10/12/2023 |
1.0.61 | 1,084 | 9/20/2023 |
1.0.60 | 436 | 9/19/2023 |
1.0.59 | 508 | 9/18/2023 |
1.0.58 | 107 | 9/18/2023 |
1.0.57 | 766 | 9/14/2023 |
1.0.56 | 1,040 | 8/31/2023 |
1.0.55 | 439 | 8/30/2023 |
1.0.54 | 136 | 8/30/2023 |
1.0.53 | 871 | 8/28/2023 |
1.0.52 | 312 | 8/25/2023 |
1.0.51 | 752 | 8/24/2023 |
1.0.50 | 1,010 | 8/21/2023 |
1.0.49 | 367 | 8/18/2023 |
1.0.48 | 650 | 8/17/2023 |
1.0.47 | 111 | 8/17/2023 |
1.0.46 | 1,230 | 8/10/2023 |
1.0.45 | 484 | 8/9/2023 |
1.0.44 | 900 | 8/8/2023 |
1.0.43 | 505 | 8/7/2023 |
1.0.42 | 131 | 8/7/2023 |
1.0.41 | 1,254 | 7/13/2023 |
1.0.40 | 926 | 7/11/2023 |
1.0.39 | 605 | 7/10/2023 |
1.0.38 | 786 | 7/7/2023 |
1.0.37 | 155 | 7/7/2023 |
1.0.36 | 1,344 | 6/30/2023 |
1.0.35 | 685 | 6/29/2023 |
1.0.34 | 823 | 6/28/2023 |
1.0.33 | 146 | 6/28/2023 |
1.0.32 | 1,224 | 6/26/2023 |
1.0.31 | 466 | 6/23/2023 |
1.0.30 | 1,182 | 6/21/2023 |
1.0.29 | 1,206 | 6/15/2023 |
1.0.28 | 647 | 6/14/2023 |
1.0.27 | 167 | 6/14/2023 |
1.0.26 | 1,458 | 6/9/2023 |
1.0.25 | 776 | 6/8/2023 |
1.0.24 | 424 | 6/7/2023 |
1.0.23 | 187 | 6/7/2023 |
1.0.22 | 755 | 6/6/2023 |
1.0.21 | 1,444 | 6/5/2023 |
1.0.20 | 444 | 6/2/2023 |
1.0.19 | 156 | 6/2/2023 |
1.0.18 | 892 | 6/1/2023 |
1.0.17 | 303 | 5/31/2023 |
1.0.16 | 1,031 | 5/31/2023 |
1.0.15 | 324 | 5/31/2023 |
1.0.14 | 862 | 5/30/2023 |
1.0.13 | 1,222 | 5/26/2023 |
1.0.12 | 792 | 5/25/2023 |
1.0.11 | 750 | 5/24/2023 |
1.0.10 | 237 | 5/24/2023 |
1.0.8 | 1,039 | 5/23/2023 |
1.0.7 | 351 | 5/22/2023 |
1.0.6 | 1,190 | 5/17/2023 |
1.0.5 | 2,409 | 4/11/2023 |
1.0.4 | 471 | 4/3/2023 |
1.0.3 | 568 | 3/31/2023 |
1.0.2 | 187 | 3/31/2023 |
1.0.1 | 359 | 2/27/2023 |