7 writes to UnmappedMemberHandling
Microsoft.Extensions.AI.Abstractions.Tests (1)
parent\parent\Shared\JsonSchemaExporter\TestTypes.cs (1)
548
Options: new() {
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow });
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
385
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow,
1693
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow,
1739
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow,
1771
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow,
1792
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow,
Shared.Tests (1)
JsonSchemaExporter\TestTypes.cs (1)
548
Options: new() {
UnmappedMemberHandling
= JsonUnmappedMemberHandling.Disallow });
8 references to UnmappedMemberHandling
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (1)
642
if (FunctionDescriptor.JsonSerializerOptions.
UnmappedMemberHandling
is JsonUnmappedMemberHandling.Disallow &&
Functions\AIFunctionFactoryOptions.cs (1)
32
/// The <see cref="JsonSerializerOptions.
UnmappedMemberHandling
"/> setting is honored by the function parameter
System.Text.Json (6)
src\runtime\src\libraries\System.Text.Json\Common\JsonSourceGenerationOptionsAttribute.cs (1)
151
/// Specifies the default value of <see cref="JsonSerializerOptions.
UnmappedMemberHandling
"/> when set.
System\Text\Json\Schema\JsonSchemaExporter.cs (1)
222
JsonUnmappedMemberHandling effectiveUnmappedMemberHandling = typeInfo.UnmappedMemberHandling ?? typeInfo.Options.
UnmappedMemberHandling
;
System\Text\Json\Serialization\Attributes\JsonUnmappedMemberHandlingAttribute.cs (1)
8
/// for the specific type, overriding the global <see cref="JsonSerializerOptions.
UnmappedMemberHandling
"/> setting.
System\Text\Json\Serialization\Converters\FSharp\FSharpUnionConverter.cs (1)
45
?? options.
UnmappedMemberHandling
;
System\Text\Json\Serialization\JsonUnionTypeStructuralClassifier.cs (1)
283
(hasExtensionData ? JsonUnmappedMemberHandling.Skip : options.
UnmappedMemberHandling
);
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (1)
1580
? Options.
UnmappedMemberHandling