6 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
330ConfigureParameterBinding = getBindParameterMode, 368ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 666ConfigureParameterBinding = p => 718ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 735ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 1163ConfigureParameterBinding = 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 233/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 243/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 248/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 253/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 423/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 433/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 438/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 443/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 660DescriptorKey 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)
336Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 357Assert.Null(options.ConfigureParameterBinding);