2 writes to SerializerOptions
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (2)
193
SerializerOptions
= serializerOptions,
369
SerializerOptions
= serializerOptions,
10 references to SerializerOptions
Microsoft.Extensions.AI.Abstractions (9)
Functions\AIFunctionFactory.cs (9)
92
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
104
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
255
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
267
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
392
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. Arguments that are not already of the expected type are
394
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. If the argument is a <see cref="JsonElement"/>,
442
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
454
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
628
JsonSerializerOptions serializerOptions = options.
SerializerOptions
?? AIJsonUtilities.DefaultOptions;
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
204
Assert.Null(options.
SerializerOptions
);