5 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
178ConfigureParameterBinding = getBindParameterMode, 215ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 502ConfigureParameterBinding = p => 554ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 571ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 },
20 references to ConfigureParameterBinding
Microsoft.Extensions.AI (18)
Functions\AIFunctionFactory.cs (16)
61/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 71/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 80/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 85/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 90/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 241/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 251/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 260/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 265/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 270/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 446/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 456/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 465/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 470/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 475/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 664DescriptorKey key = new(method, options.Name, options.Description, options.ConfigureParameterBinding, options.MarshalResult, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
71/// <see cref="ConfigureParameterBinding"/> is <see langword="null"/>. 109/// <summary>Provides configuration options produced by the <see cref="ConfigureParameterBinding"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
184Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 205Assert.Null(options.ConfigureParameterBinding);