1 instantiation of AzureStorageResponseCache
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Storage\AzureStorageResponseCacheProvider.cs (1)
49
new
AzureStorageResponseCache
(
33 references to AzureStorageResponseCache
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (33)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.CacheEntry.g.cs (28)
15
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry>? _CacheEntry;
21
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry> CacheEntry
24
get => _CacheEntry ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry));
27
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry> Create_CacheEntry(global::System.Text.Json.JsonSerializerOptions options)
29
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry> jsonTypeInfo))
31
var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry>
34
ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry((string)args[0], (string)args[1], (global::System.DateTime)args[2], (global::System.DateTime)args[3]),
37
ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(string), typeof(global::System.DateTime), typeof(global::System.DateTime)}, modifiers: null),
41
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry>(options, objectInfo);
58
DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry),
60
Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)obj).ScenarioName,
68
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry).GetProperty("ScenarioName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
79
DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry),
81
Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)obj).IterationName,
89
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry).GetProperty("IterationName", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
100
DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry),
102
Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)obj).Creation,
110
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry).GetProperty("Creation", InstanceMemberBindingFlags, null, typeof(global::System.DateTime), global::System.Array.Empty<global::System.Type>(), null),
120
DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry),
122
Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)obj).Expiration,
130
AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry).GetProperty("Expiration", InstanceMemberBindingFlags, null, typeof(global::System.DateTime), global::System.Array.Empty<global::System.Type>(), null),
140
private void CacheEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry? value)
150
string __value_ScenarioName = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)value).ScenarioName;
155
string __value_IterationName = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)value).IterationName;
160
writer.WriteString(PropName_creation, ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)value).Creation);
161
writer.WriteString(PropName_expiration, ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry)value).Expiration);
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.GetJsonTypeInfo.g.cs (1)
148
if (type == typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
.CacheEntry))
JsonSerialization\AzureStorageJsonUtilities.cs (1)
7
using static Microsoft.Extensions.AI.Evaluation.Reporting.Storage.
AzureStorageResponseCache
;
Storage\AzureStorageResponseCacheProvider.cs (3)
48
var
cache =
61
=>
AzureStorageResponseCache
.ResetStorageAsync(client, cancellationToken);
65
=>
AzureStorageResponseCache
.DeleteExpiredEntriesAsync(client, _provideDateTime, cancellationToken);