2 instantiations of CacheEntry
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (2)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.CacheEntry.g.cs (1)
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]),
Storage\AzureStorageResponseCache.cs (1)
283
return new
CacheEntry
(scenarioName, iterationName, creation, expiration);
48 references to CacheEntry
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (48)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.CacheEntry.g.cs (27)
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
>
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 (5)
16
internal static JsonTypeInfo<
CacheEntry
> CacheEntryTypeInfo => Options.GetTypeInfo<
CacheEntry
>();
23
internal static JsonTypeInfo<
CacheEntry
> CacheEntryTypeInfo => Options.GetTypeInfo<
CacheEntry
>();
41
[JsonSerializable(typeof(
CacheEntry
))]
Storage\AzureStorageResponseCache.CacheEntry.cs (4)
34
public static
CacheEntry
Read(
40
CacheEntry
cacheEntry =
50
public static async Task<
CacheEntry
> ReadAsync(
57
CacheEntry
cacheEntry =
Storage\AzureStorageResponseCache.cs (11)
51
CacheEntry
entry =
CacheEntry
.Read(client.GetFileClient(entryFilePath));
71
CacheEntry
entry =
72
await
CacheEntry
.ReadAsync(
105
CacheEntry
entry = CreateEntry();
126
CacheEntry
entry = CreateEntry();
159
CacheEntry
entry = CreateEntry();
176
CacheEntry
entry = CreateEntry();
205
CacheEntry
entry =
206
await
CacheEntry
.ReadAsync(
278
private
CacheEntry
CreateEntry()