6 types derived from ToolCallContent
Microsoft.Extensions.AI.Abstractions (5)
Microsoft.Extensions.AI.Abstractions.Tests (1)
14 instantiations of ToolCallContent
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Abstractions.Tests (4)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Microsoft.Extensions.AI.OpenAI (5)
Microsoft.Extensions.AI.Stabilization.Tests (1)
Microsoft.Extensions.AI.Tests (1)
314 references to ToolCallContent
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Abstractions (49)
Generated\361d1da7f942c932\JsonContext.ToolApprovalRequestContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
213ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
223ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (13)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
24get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Abstractions.Tests (76)
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalRequestContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
191ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalResponseContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
71var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
86AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
89properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
221ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
22get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Evaluation.Reporting (41)
Generated\361d1da7f942c932\JsonContext.ToolApprovalRequestContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
193ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
223ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (13)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
24get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (41)
Generated\361d1da7f942c932\JsonContext.ToolApprovalRequestContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
193ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\JsonContext.ToolApprovalResponseContent.g.cs (6)
34ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
88AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
223ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\JsonContext.ToolCallContent.g.cs (13)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
24get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.OpenAI.Tests (19)
Microsoft.Extensions.AI.Stabilization.Tests (41)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolApprovalRequestContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
191ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolApprovalResponseContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
71var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
86AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
89properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
221ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.ToolCallContent.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
22get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Tests (45)
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalRequestContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalRequestContent((string)args[0], (global::Microsoft.Extensions.AI.ToolCallContent)args[1]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
51var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalRequestContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
69properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info0);
191ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolApprovalResponseContent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.Extensions.AI.ToolApprovalResponseContent((string)args[0], (bool)args[1], (global::Microsoft.Extensions.AI.ToolCallContent)args[2]),
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(bool), typeof(global::Microsoft.Extensions.AI.ToolCallContent)}, modifiers: null),
71var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
86AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolApprovalResponseContent).GetProperty("ToolCall", InstanceMemberBindingFlags, null, typeof(global::Microsoft.Extensions.AI.ToolCallContent), global::System.Array.Empty<global::System.Type>(), null),
89properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, info1);
221ParameterType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
Generated\361d1da7f942c932\TestJsonSerializerContext.ToolCallContent.g.cs (13)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>? _ToolCallContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> ToolCallContent
22get => _ToolCallContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.ToolCallContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> Create_ToolCallContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.ToolCallContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.ToolCallContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.ToolCallContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.ToolCallContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.ToolCallContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.ToolCallContent)obj).CallId,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.ToolCallContent).GetProperty("CallId", InstanceMemberBindingFlags, null, typeof(string), global::System.Array.Empty<global::System.Type>(), null),