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)
34ObjectWithParameterizedConstructorCreator = 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)
283return 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)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry>? _CacheEntry; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry> CacheEntry 24get => _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)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry> Create_CacheEntry(global::System.Text.Json.JsonSerializerOptions options) 29if (!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)) 31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry> 37ConstructorAttributeProviderFactory = 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), 41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry>(options, objectInfo); 58DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry), 60Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)obj).ScenarioName, 68AttributeProviderFactory = 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), 79DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry), 81Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)obj).IterationName, 89AttributeProviderFactory = 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), 100DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry), 102Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)obj).Creation, 110AttributeProviderFactory = 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), 120DeclaringType = typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry), 122Getter = static obj => ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)obj).Expiration, 130AttributeProviderFactory = 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), 140private void CacheEntrySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry? value) 150string __value_ScenarioName = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)value).ScenarioName; 155string __value_IterationName = ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)value).IterationName; 160writer.WriteString(PropName_creation, ((global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry)value).Creation); 161writer.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)
148if (type == typeof(global::Microsoft.Extensions.AI.Evaluation.Reporting.Storage.AzureStorageResponseCache.CacheEntry))
JsonSerialization\AzureStorageJsonUtilities.cs (5)
16internal static JsonTypeInfo<CacheEntry> CacheEntryTypeInfo => Options.GetTypeInfo<CacheEntry>(); 23internal static JsonTypeInfo<CacheEntry> CacheEntryTypeInfo => Options.GetTypeInfo<CacheEntry>(); 41[JsonSerializable(typeof(CacheEntry))]
Storage\AzureStorageResponseCache.CacheEntry.cs (4)
34public static CacheEntry Read( 40CacheEntry cacheEntry = 50public static async Task<CacheEntry> ReadAsync( 57CacheEntry cacheEntry =
Storage\AzureStorageResponseCache.cs (11)
51CacheEntry entry = CacheEntry.Read(client.GetFileClient(entryFilePath)); 71CacheEntry entry = 72await CacheEntry.ReadAsync( 105CacheEntry entry = CreateEntry(); 126CacheEntry entry = CreateEntry(); 159CacheEntry entry = CreateEntry(); 176CacheEntry entry = CreateEntry(); 205CacheEntry entry = 206await CacheEntry.ReadAsync( 278private CacheEntry CreateEntry()