5 instantiations of ParameterBindingOptions
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
288ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 590return new() 638ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 655ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 1028return new()
8 references to ParameterBindingOptions
Microsoft.Extensions.AI.Abstractions (7)
Functions\AIFunctionFactory.cs (5)
668Dictionary<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions>? boundParameters = null; 691if (boundParameters?.TryGetValue(parameterInfo, out var options) is true && 713if (boundParameters?.TryGetValue(parameters[i], out AIFunctionFactoryOptions.ParameterBindingOptions options) is not true) 792AIFunctionFactoryOptions.ParameterBindingOptions bindingOptions, 1070Func<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)
243Func<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions> getBindParameterMode = _ => default;