Documentation\ApiDocs\ApiDocsCache.cs (15)
42=> _contentCache.GetAsync(key, cancellationToken);
51=> _contentCache.SetAsync(key, content, cancellationToken);
60=> _contentCache.GetETagAsync(url, cancellationToken);
69=> _contentCache.SetETagAsync(url, etag, cancellationToken);
77=> _contentCache.InvalidateAsync(key, cancellationToken);
85=> _contentCache.GetJsonAsync(_indexCacheKey, JsonSourceGenerationContext.Default.ApiReferenceItemArray, cancellationToken: cancellationToken);
93=> _contentCache.SetJsonAsync(_indexCacheKey, documents, JsonSourceGenerationContext.Default.ApiReferenceItemArray, cancellationToken);
101=> _contentCache.GetAsync(_indexSourceFingerprintCacheKey, cancellationToken);
109=> _contentCache.SetAsync(_indexSourceFingerprintCacheKey, fingerprint, cancellationToken);
117=> _contentCache.GetJsonAsync(_memberIndexCacheKey, JsonSourceGenerationContext.Default.ApiReferenceItemArray, cancellationToken: cancellationToken);
125=> _contentCache.SetJsonAsync(_memberIndexCacheKey, documents, JsonSourceGenerationContext.Default.ApiReferenceItemArray, cancellationToken);
133=> _contentCache.GetAsync(_memberIndexSourceFingerprintCacheKey, cancellationToken);
141=> _contentCache.SetAsync(_memberIndexSourceFingerprintCacheKey, fingerprint, cancellationToken);
150var value = await _contentCache.GetAsync(_memberIndexContainerIdsCacheKey, cancellationToken).ConfigureAwait(false);
165=> _contentCache.SetAsync(_memberIndexContainerIdsCacheKey, string.Join('\n', containerIds.OrderBy(static id => id, StringComparer.OrdinalIgnoreCase)), cancellationToken);