9 references to SetAsync
aspire (8)
Documentation\ApiDocs\ApiDocsCache.cs (4)
51
=> _contentCache.
SetAsync
(key, content, cancellationToken);
109
=> _contentCache.
SetAsync
(_indexSourceFingerprintCacheKey, fingerprint, cancellationToken);
141
=> _contentCache.
SetAsync
(_memberIndexSourceFingerprintCacheKey, fingerprint, cancellationToken);
165
=> _contentCache.
SetAsync
(_memberIndexContainerIdsCacheKey, string.Join('\n', containerIds.OrderBy(static id => id, StringComparer.OrdinalIgnoreCase)), cancellationToken);
Documentation\Docs\DocsCache.cs (4)
45
=> _contentCache.
SetAsync
(key, content, cancellationToken);
109
await _contentCache.
SetAsync
(_indexSourceFingerprintCacheKey, legacyFingerprint, cancellationToken).ConfigureAwait(false);
116
await _contentCache.
SetAsync
(_indexSourceFingerprintCacheKey, fingerprint, cancellationToken).ConfigureAwait(false);
138
await _contentCache.
SetAsync
(_indexSourceFingerprintCacheKey, legacyFingerprint, cancellationToken).ConfigureAwait(false);
Aspire.Cli.Tests (1)
Mcp\Docs\DocsCacheTests.cs (1)
70
await contentCache.
SetAsync
($"{legacyIndexKey}:fingerprint", "legacy-fingerprint").DefaultTimeout();