5 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
179ConfigureParameterBinding = getBindParameterMode, 216ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 509ConfigureParameterBinding = p => 561ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 578ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 },
17 references to ConfigureParameterBinding
Microsoft.Extensions.AI.Abstractions (15)
Functions\AIFunctionFactory.cs (13)
66/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 76/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 81/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 86/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 229/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 239/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 244/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 249/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 416/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 426/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 431/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 436/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 633DescriptorKey key = new(method, options.Name, options.Description, options.ConfigureParameterBinding, options.MarshalResult, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
71/// <see cref="ConfigureParameterBinding"/> is <see langword="null"/>. 127/// <summary>Provides configuration options produced by the <see cref="ConfigureParameterBinding"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
185Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 206Assert.Null(options.ConfigureParameterBinding);