5 instantiations of ParameterBindingOptions
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
222ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 509return new() 557ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 574ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 862return new()
8 references to ParameterBindingOptions
Microsoft.Extensions.AI.Abstractions (7)
Functions\AIFunctionFactory.cs (5)
634Dictionary<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions>? boundParameters = null; 657if (boundParameters?.TryGetValue(parameterInfo, out var options) is true && 679if (boundParameters?.TryGetValue(parameters[i], out AIFunctionFactoryOptions.ParameterBindingOptions options) is not true) 758AIFunctionFactoryOptions.ParameterBindingOptions bindingOptions, 1019Func<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)
178Func<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions> getBindParameterMode = _ => default;