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)
82
if (await
_storage
.GetAsync(key, cancellationToken) is byte[] existingJson)
96
if (await
_storage
.GetAsync(key, cancellationToken) is byte[] existingJson)
112
await
_storage
.SetAsync(key, newJson, cancellationToken);
123
await
_storage
.SetAsync(key, newJson, cancellationToken);