9 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (9)
Functions\AIFunctionFactoryTest.cs (9)
452ConfigureParameterBinding = p => p.Name == "second" 499ConfigureParameterBinding = getBindParameterMode, 537ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 568ConfigureParameterBinding = p => p.ParameterType == typeof(IExcludedService) 896ConfigureParameterBinding = p => 948ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 965ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 1393ConfigureParameterBinding = p => 1802ConfigureParameterBinding = _ => new()
17 references to ConfigureParameterBinding
Microsoft.Extensions.AI.Abstractions (15)
Functions\AIFunctionFactory.cs (13)
74/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 82/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 86/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 91/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 245/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 253/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 257/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 262/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 437/// The handling of <see cref="IServiceProvider"/> parameters can be overridden via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 445/// <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/>. 449/// and are included in the generated JSON schema. This can be overridden by the <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> provided 454/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.ConfigureParameterBinding"/> can choose to 722DescriptorKey key = new(method, options.Name, options.Description, options.ConfigureParameterBinding, options.MarshalResult, options.ExcludeResultSchema, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
82/// <see cref="ConfigureParameterBinding"/> is <see langword="null"/>. 135/// <summary>Provides configuration options produced by the <see cref="ConfigureParameterBinding"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
505Assert.Same(getBindParameterMode, options.ConfigureParameterBinding); 526Assert.Null(options.ConfigureParameterBinding);