1 write to _storage
Microsoft.Extensions.AI (1)
ChatCompletion\DistributedCachingChatClient.cs (1)
56_storage = Throw.IfNull(storage);
4 references to _storage
Microsoft.Extensions.AI (4)
ChatCompletion\DistributedCachingChatClient.cs (4)
80if (await _storage.GetAsync(key, cancellationToken) is byte[] existingJson) 94if (await _storage.GetAsync(key, cancellationToken) is byte[] existingJson) 110await _storage.SetAsync(key, newJson, cancellationToken); 121await _storage.SetAsync(key, newJson, cancellationToken);