3 writes to SerializerOptions
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactory.cs (2)
197
SerializerOptions
= serializerOptions,
377
SerializerOptions
= serializerOptions,
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
919
SerializerOptions
= JsonContext.Default.Options,
10 references to SerializerOptions
Microsoft.Extensions.AI.Abstractions (9)
Functions\AIFunctionFactory.cs (9)
89
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
101
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
259
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
271
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
399
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. Arguments that are not already of the expected type are
401
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/>. If the argument is a <see cref="JsonElement"/>,
449
/// or <see cref="JsonNode"/>, it is deserialized into the parameter type, utilizing <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided,
461
/// <see cref="AIFunctionFactoryOptions.
SerializerOptions
"/> if provided, or else using <see cref="AIJsonUtilities.DefaultOptions"/>.
655
JsonSerializerOptions serializerOptions = options.
SerializerOptions
?? AIJsonUtilities.DefaultOptions;
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
354
Assert.Null(options.
SerializerOptions
);