Soenneker.Utils.Cancellation 2.1.193

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Utils.Cancellation --version 2.1.193
NuGet\Install-Package Soenneker.Utils.Cancellation -Version 2.1.193
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.193" />
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.193
#r "nuget: Soenneker.Utils.Cancellation, 2.1.193"
#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.193

// Install Soenneker.Utils.Cancellation as a Cake Tool
#tool nuget:?package=Soenneker.Utils.Cancellation&version=2.1.193

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Utils.Cancellation

A utility library allowing for easy CancellationToken usage

Installation

dotnet add package Soenneker.Utils.Cancellation

Usage

  1. Register the interop within DI (Program.cs).
public static async Task Main(string[] args)
{
    ...
    builder.Services.AddCancellationUtil();
}
  1. Inject ICancellationUtil where you wish to set the CancellationToken (typically from an API Controller)
_cancellationUtil.Set(cancellationToken);
  1. Inject ICancellationUtil where you wish to retrieve the CancellationToken (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 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.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Soenneker.Utils.Cancellation:

Package Downloads
Soenneker.Cosmos.Repository The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A data persistence abstraction layer for Cosmos DB

Soenneker.Blob.Download The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A utility library for Azure Blob download operations

Soenneker.Blob.Fetch The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A utility library for Azure Blob fetch (metadata) operations

Soenneker.Coordinators.Base The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A base class that sits between a controller and manager (responsibility-driven-design) providing logging and cancellation

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.203 468 4/29/2024
2.1.202 213 4/29/2024
2.1.201 726 4/28/2024
2.1.200 239 4/28/2024
2.1.199 128 4/28/2024
2.1.198 503 4/28/2024
2.1.197 179 4/28/2024
2.1.196 317 4/28/2024
2.1.195 218 4/28/2024
2.1.194 446 4/27/2024
2.1.193 637 4/19/2024
2.1.192 818 4/18/2024
2.1.191 643 4/12/2024
2.1.190 410 4/12/2024
2.1.189 231 4/12/2024
2.1.188 241 4/12/2024
2.1.187 367 4/12/2024
2.1.186 268 4/12/2024
2.1.185 344 4/11/2024
2.1.184 419 4/10/2024
2.1.183 296 4/9/2024
2.1.182 718 4/2/2024
2.1.181 266 4/1/2024
2.1.180 488 3/29/2024
2.1.179 477 3/25/2024
2.1.178 203 3/25/2024
2.1.177 620 3/20/2024
2.1.176 599 3/19/2024
2.1.175 305 3/19/2024
2.1.174 447 3/18/2024
2.1.173 715 3/15/2024
2.1.172 469 3/13/2024
2.1.171 208 3/13/2024
2.1.170 504 3/13/2024
2.1.169 213 3/13/2024
2.1.168 90 3/13/2024
2.1.167 481 3/12/2024
2.1.166 355 3/12/2024
2.1.165 542 3/11/2024
2.1.164 532 3/11/2024
2.1.163 537 3/10/2024
2.1.162 503 3/8/2024
2.1.161 224 3/8/2024
2.1.160 426 3/8/2024
2.1.159 640 3/6/2024
2.1.158 495 3/4/2024
2.1.157 509 3/4/2024
2.1.156 467 3/3/2024
2.1.155 427 3/2/2024
2.1.154 163 3/2/2024
2.1.153 406 3/2/2024
2.1.152 119 3/2/2024
2.1.151 440 2/29/2024
2.1.150 143 2/29/2024
2.1.149 417 2/29/2024
2.1.148 622 2/26/2024
2.1.147 296 2/25/2024
2.1.146 329 2/25/2024
2.1.145 1,276 2/23/2024
2.1.144 445 2/22/2024
2.1.143 277 2/22/2024
2.1.142 477 2/21/2024
2.1.141 468 2/21/2024
2.1.140 379 2/21/2024
2.1.139 227 2/21/2024
2.1.138 199 2/21/2024
2.1.137 80 2/21/2024
2.1.136 1,009 2/20/2024
2.1.135 335 2/20/2024
2.1.134 254 2/20/2024
2.1.133 299 2/19/2024
2.1.132 427 2/19/2024
2.1.131 452 2/17/2024
2.1.130 277 2/17/2024
2.1.129 333 2/16/2024
2.1.128 173 2/16/2024
2.1.127 200 2/16/2024
2.1.126 250 2/16/2024
2.1.125 416 2/16/2024
2.1.124 136 2/16/2024
2.1.123 784 2/13/2024
2.1.122 611 2/13/2024
2.1.121 133 2/13/2024
2.1.120 296 2/13/2024
2.1.119 312 2/13/2024
2.1.118 436 2/12/2024
2.1.117 201 2/11/2024
2.1.116 625 2/11/2024
2.1.115 308 2/11/2024
2.1.114 401 2/10/2024
2.1.113 234 2/9/2024
2.1.112 524 2/9/2024
2.1.111 384 2/9/2024
2.1.110 202 2/8/2024
2.1.109 372 2/8/2024
2.1.108 298 2/8/2024
2.1.107 358 2/8/2024
2.1.106 464 2/7/2024
2.1.105 299 2/7/2024
2.1.104 166 2/7/2024
2.1.103 454 2/7/2024
2.1.102 63 2/6/2024
2.1.101 335 2/6/2024
2.1.100 531 2/5/2024
2.1.99 522 2/4/2024
2.1.98 385 2/2/2024
2.1.97 628 1/31/2024
2.1.96 477 1/29/2024
2.1.95 477 1/29/2024
2.1.94 179 1/29/2024
2.1.93 492 1/28/2024
2.1.92 188 1/28/2024
2.1.91 359 1/28/2024
2.1.90 187 1/28/2024
2.1.89 228 1/28/2024
2.1.88 537 1/27/2024
2.1.87 327 1/27/2024
2.1.86 114 1/27/2024
2.1.85 232 1/27/2024
2.1.84 310 1/27/2024
2.1.83 332 1/27/2024
2.1.82 138 1/26/2024
2.1.81 251 1/26/2024
2.1.80 344 1/26/2024
2.1.79 182 1/26/2024
2.1.78 574 1/26/2024
2.1.77 344 1/26/2024
2.1.76 252 1/25/2024
2.1.75 211 1/25/2024
2.1.74 215 1/25/2024
2.1.73 237 1/25/2024
2.1.72 723 1/19/2024
2.1.71 587 1/15/2024
2.1.70 266 1/15/2024
2.1.69 288 1/15/2024
2.1.68 357 1/15/2024
2.1.67 454 1/15/2024
2.1.66 478 1/14/2024
2.1.65 534 1/13/2024
2.1.64 468 1/12/2024
2.1.63 639 1/11/2024
2.1.62 650 1/7/2024
2.1.61 472 1/5/2024
2.1.60 309 1/5/2024
2.1.59 510 1/5/2024
2.1.58 564 1/1/2024
2.1.57 670 12/28/2023
2.1.56 421 12/28/2023
2.1.55 405 12/28/2023
2.1.54 298 12/27/2023
2.1.53 205 12/27/2023
2.1.52 86 12/27/2023
2.1.51 899 12/25/2023
2.1.50 157 12/25/2023
2.1.49 390 12/25/2023
2.1.48 260 12/25/2023
2.1.47 365 12/25/2023
2.1.46 146 12/25/2023
2.1.45 449 12/24/2023
2.1.44 580 12/23/2023
2.1.43 300 12/23/2023
2.1.42 464 12/23/2023
2.1.41 191 12/23/2023
2.1.40 330 12/23/2023
2.1.39 748 12/19/2023
2.1.38 189 12/19/2023
2.1.37 1,226 12/10/2023
2.1.36 498 12/10/2023
2.1.35 836 12/9/2023
2.1.34 388 12/9/2023
2.1.33 461 12/9/2023
2.1.32 747 12/6/2023
2.1.31 629 12/5/2023
2.1.30 375 12/4/2023
2.1.29 176 12/4/2023
2.1.28 349 12/4/2023
2.1.27 804 11/23/2023
2.1.26 334 11/23/2023
2.1.25 357 11/23/2023
2.1.24 228 11/23/2023
2.1.23 476 11/20/2023
2.1.22 411 11/20/2023
2.1.21 378 11/19/2023
2.1.20 217 11/19/2023
2.1.19 410 11/19/2023
2.1.18 237 11/19/2023
2.1.17 479 11/18/2023
2.1.16 325 11/18/2023
2.1.15 224 11/18/2023
2.1.14 334 11/18/2023
2.1.13 441 11/17/2023
2.1.12 74 11/17/2023
2.1.11 387 11/17/2023
2.1.10 319 11/17/2023
2.1.9 253 11/17/2023
2.1.8 206 11/17/2023
2.1.7 409 11/17/2023
2.1.6 241 11/17/2023
2.1.5 147 11/17/2023
2.1.4 495 11/16/2023
2.0.82 639 11/15/2023
2.0.81 86 11/15/2023
2.0.80 82 11/15/2023
2.0.79 170 11/15/2023
2.0.3 92 11/16/2023
2.0.2 92 11/16/2023
2.0.1 88 11/16/2023
1.0.78 360 11/14/2023
1.0.77 644 11/13/2023
1.0.76 522 11/10/2023
1.0.75 440 11/9/2023
1.0.74 92 11/9/2023
1.0.73 694 11/7/2023
1.0.72 393 11/6/2023
1.0.71 357 11/3/2023
1.0.70 399 11/2/2023
1.0.69 662 11/1/2023
1.0.68 839 10/26/2023
1.0.67 678 10/19/2023
1.0.66 235 10/18/2023
1.0.65 557 10/17/2023
1.0.64 691 10/16/2023
1.0.63 523 10/13/2023
1.0.62 571 10/12/2023
1.0.61 1,014 9/20/2023
1.0.60 391 9/19/2023
1.0.59 499 9/18/2023
1.0.58 100 9/18/2023
1.0.57 685 9/14/2023
1.0.56 964 8/31/2023
1.0.55 385 8/30/2023
1.0.54 124 8/30/2023
1.0.53 864 8/28/2023
1.0.52 307 8/25/2023
1.0.51 683 8/24/2023
1.0.50 919 8/21/2023
1.0.49 357 8/18/2023
1.0.48 611 8/17/2023
1.0.47 106 8/17/2023
1.0.46 1,182 8/10/2023
1.0.45 475 8/9/2023
1.0.44 792 8/8/2023
1.0.43 497 8/7/2023
1.0.42 124 8/7/2023
1.0.41 1,169 7/13/2023
1.0.40 860 7/11/2023
1.0.39 595 7/10/2023
1.0.38 698 7/7/2023
1.0.37 147 7/7/2023
1.0.36 1,251 6/30/2023
1.0.35 646 6/29/2023
1.0.34 802 6/28/2023
1.0.33 140 6/28/2023
1.0.32 1,155 6/26/2023
1.0.31 450 6/23/2023
1.0.30 1,120 6/21/2023
1.0.29 1,127 6/15/2023
1.0.28 604 6/14/2023
1.0.27 159 6/14/2023
1.0.26 1,381 6/9/2023
1.0.25 768 6/8/2023
1.0.24 417 6/7/2023
1.0.23 180 6/7/2023
1.0.22 747 6/6/2023
1.0.21 1,324 6/5/2023
1.0.20 411 6/2/2023
1.0.19 144 6/2/2023
1.0.18 853 6/1/2023
1.0.17 297 5/31/2023
1.0.16 1,021 5/31/2023
1.0.15 313 5/31/2023
1.0.14 848 5/30/2023
1.0.13 1,214 5/26/2023
1.0.12 785 5/25/2023
1.0.11 743 5/24/2023
1.0.10 232 5/24/2023
1.0.8 1,032 5/23/2023
1.0.7 346 5/22/2023
1.0.6 1,183 5/17/2023
1.0.5 2,396 4/11/2023
1.0.4 462 4/3/2023
1.0.3 554 3/31/2023
1.0.2 180 3/31/2023
1.0.1 352 2/27/2023