6 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
250ConfigureParameterBinding = getBindParameterMode, 288ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 586ConfigureParameterBinding = p => 638ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 655ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 1024ConfigureParameterBinding = p =>
17 references to ConfigureParameterBinding
Microsoft.Extensions.AI.Abstractions (15)
Functions\AIFunctionFactory.cs (13)
63/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 73/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 78/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 83/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 226/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 236/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 241/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 246/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 412/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 422/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 427/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 432/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 647DescriptorKey key = new(method, options.Name, options.Description, options.ConfigureParameterBinding, options.MarshalResult, options.ExcludeResultSchema, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
71/// <see cref="ConfigureParameterBinding"/> is <see langword="null"/>. 122/// <summary>Provides configuration options produced by the <see cref="ConfigureParameterBinding"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
256Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 277Assert.Null(options.ConfigureParameterBinding);