3 writes to SerializerOptions
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (2)
194
SerializerOptions
= serializerOptions,
370
SerializerOptions
= serializerOptions,
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
840
SerializerOptions
= JsonContext.Default.Options,
10 references to SerializerOptions
Microsoft.Extensions.AI.Abstractions (9)
Functions\AIFunctionFactory.cs (9)
93
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
105
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
256
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
268
/// <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"/>.
613
JsonSerializerOptions serializerOptions = options.
SerializerOptions
?? AIJsonUtilities.DefaultOptions;
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
275
Assert.Null(options.
SerializerOptions
);