Class CancellationTokenProviderExtensions
Inheritance
System.Object
CancellationTokenProviderExtensions
Namespace: Volo.Abp.Threading
Assembly: Volo.Abp.Threading.dll
Syntax
public static class CancellationTokenProviderExtensions : object
Methods
FallbackToProvider(ICancellationTokenProvider, CancellationToken)
Declaration
public static CancellationToken FallbackToProvider(this ICancellationTokenProvider provider, CancellationToken prefferedValue = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ICancellationTokenProvider | provider | |
| CancellationToken | prefferedValue |
Returns
| Type | Description |
|---|---|
| CancellationToken |