6 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
185ConfigureParameterBinding = getBindParameterMode, 222ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 505ConfigureParameterBinding = p => 557ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 574ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 858ConfigureParameterBinding = p =>
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 415/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 425/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 430/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 435/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> may choose to 617DescriptorKey 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)
191Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 212Assert.Null(options.ConfigureParameterBinding);