1 write to _storage
Microsoft.Extensions.AI (1)
ChatCompletion\DistributedCachingChatClient.cs (1)
58_storage = Throw.IfNull(storage);
4 references to _storage
Microsoft.Extensions.AI (4)
ChatCompletion\DistributedCachingChatClient.cs (4)
82if (await _storage.GetAsync(key, cancellationToken) is byte[] existingJson) 96if (await _storage.GetAsync(key, cancellationToken) is byte[] existingJson) 112await _storage.SetAsync(key, newJson, cancellationToken); 123await _storage.SetAsync(key, newJson, cancellationToken);