5 instantiations of ParameterBindingOptions
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
287ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 589return new() 637ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 654ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 942return new()
8 references to ParameterBindingOptions
Microsoft.Extensions.AI.Abstractions (7)
Functions\AIFunctionFactory.cs (5)
635Dictionary<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions>? boundParameters = null; 658if (boundParameters?.TryGetValue(parameterInfo, out var options) is true && 680if (boundParameters?.TryGetValue(parameters[i], out AIFunctionFactoryOptions.ParameterBindingOptions options) is not true) 759AIFunctionFactoryOptions.ParameterBindingOptions bindingOptions, 1037Func<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions>? GetBindParameterOptions,
Functions\AIFunctionFactoryOptions.cs (2)
70/// Returning a default <see cref="ParameterBindingOptions"/> results in the same behavior as if 74public Func<ParameterInfo, ParameterBindingOptions>? ConfigureParameterBinding { get; set; }
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
242Func<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions> getBindParameterMode = _ => default;