2 instantiations of CustomAIContent1
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\DistributedCachingChatClientTest.cs (1)
688new CustomAIContent1("Hello", DateTime.Now),
Generated\361d1da7f942c932\CustomAIContentJsonContext.CustomAIContent1.g.cs (1)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1((string)args[0], (global::System.DateTime)args[1]),
19 references to CustomAIContent1
Microsoft.Extensions.AI.Tests (19)
ChatCompletion\CustomAIContentJsonContext.cs (1)
8[JsonSerializable(typeof(DistributedCachingChatClientTest.CustomAIContent1))]
ChatCompletion\DistributedCachingChatClientTest.cs (1)
697foreach (var t in new Type[] { typeof(CustomAIContent1), typeof(CustomAIContent2) })
Generated\361d1da7f942c932\CustomAIContentJsonContext.CustomAIContent1.g.cs (16)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1>? _CustomAIContent1; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1> CustomAIContent1 22get => _CustomAIContent1 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1> Create_CustomAIContent1(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1> jsonTypeInfo)) 29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1> 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::System.DateTime)}, modifiers: null), 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1>(options, objectInfo); 56DeclaringType = typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1), 58Getter = static obj => ((global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1)obj).Text, 66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1).GetProperty("Text", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null), 77DeclaringType = typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1), 79Getter = static obj => ((global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1)obj).Date, 87AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1).GetProperty("Date", InstanceMemberBindingFlags, null, typeof(global::System.DateTime), global::System.Array.Empty<global::System.Type>(), null),
Generated\361d1da7f942c932\CustomAIContentJsonContext.GetJsonTypeInfo.g.cs (1)
38if (type == typeof(global::Microsoft.Extensions.AI.DistributedCachingChatClientTest.CustomAIContent1))