Click or drag to resize
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.Internal
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
CancellationTokenSource GetOrAdd(
	string key
)

Parameters

key
Type: SystemString
The key of the CancellationTokenSource to get or add.

Return Value

Type: CancellationTokenSource
Returns the token source for the key.
See Also