2 writes to SerializerOptions
Microsoft.Extensions.AI (2)
Functions\AIFunctionFactory.cs (2)
224
SerializerOptions
= serializerOptions,
436
SerializerOptions
= serializerOptions,
10 references to SerializerOptions
Microsoft.Extensions.AI (9)
Functions\AIFunctionFactory.cs (9)
106
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
118
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
305
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
317
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
460
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. Arguments that are not already of the expected type are
462
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. If the argument is a <see cref="JsonElement"/>,
529
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
541
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
707
JsonSerializerOptions serializerOptions = options.
SerializerOptions
?? AIJsonUtilities.DefaultOptions;
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
204
Assert.Null(options.
SerializerOptions
);