22 instantiations of McpServerToolResultContent
Microsoft.Extensions.AI.Abstractions (1)
Microsoft.Extensions.AI.Abstractions.Tests (8)
Microsoft.Extensions.AI.Evaluation.Reporting (1)
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (1)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.AI.OpenAI.Tests (1)
Microsoft.Extensions.AI.Stabilization.Tests (1)
Microsoft.Extensions.AI.Tests (7)
126 references to McpServerToolResultContent
Microsoft.Extensions.AI (2)
Microsoft.Extensions.AI.Abstractions (18)
Generated\361d1da7f942c932\JsonContext.McpServerToolResultContent.g.cs (14)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
24get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Abstractions.Tests (24)
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolResultContent.g.cs (14)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
22get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Evaluation.Reporting (15)
Generated\361d1da7f942c932\JsonContext.McpServerToolResultContent.g.cs (14)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
24get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Evaluation.Reporting.Azure (15)
Generated\361d1da7f942c932\JsonContext.McpServerToolResultContent.g.cs (14)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
24get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
31var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
37ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
41jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
58DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
60Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
61Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
68AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.OpenAI (1)
Microsoft.Extensions.AI.OpenAI.Tests (21)
Microsoft.Extensions.AI.Stabilization.Tests (15)
Generated\361d1da7f942c932\AIContentSerializationRegressionContext.McpServerToolResultContent.g.cs (14)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
22get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),
Microsoft.Extensions.AI.Tests (15)
Generated\361d1da7f942c932\TestJsonSerializerContext.McpServerToolResultContent.g.cs (14)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>? _McpServerToolResultContent;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> McpServerToolResultContent
22get => _McpServerToolResultContent ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>)Options.GetTypeInfo(typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> Create_McpServerToolResultContent(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent> jsonTypeInfo))
29var objectInfo = new global::System.Text.Json.Serialization.Metadata.JsonObjectInfoValues<global::Microsoft.Extensions.AI.McpServerToolResultContent>
35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string)}, modifiers: null),
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateObjectInfo<global::Microsoft.Extensions.AI.McpServerToolResultContent>(options, objectInfo);
56DeclaringType = typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent),
58Getter = static obj => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs,
59Setter = static (obj, value) => ((global::Microsoft.Extensions.AI.McpServerToolResultContent)obj).Outputs = value!,
66AttributeProviderFactory = static () => typeof(global::Microsoft.Extensions.AI.McpServerToolResultContent).GetProperty("Outputs", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IList<global::Microsoft.Extensions.AI.AIContent>), global::System.Array.Empty<global::System.Type>(), null),