IDependencyCacheKeysStoreGetOrAdd Method |
Adds new token source CancellationTokenSource if no token source exists under the key.
Returns the newly created or existing token source.
Namespace: CMS.Helpers.Caching.InternalAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax CancellationTokenSource GetOrAdd(
string key
)
Parameters
- key
- Type: SystemString
The key of the CancellationTokenSource to get or add.
Return Value
Type:
CancellationTokenSourceReturns the token source for the
key.
See Also