5 instantiations of ParameterBindingOptions
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
367ConfigureParameterBinding = p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default, 669return new() 717ConfigureParameterBinding = p => new() { BindParameter = (p, a) => sp2 }, 734ConfigureParameterBinding = p => new() { BindParameter = (p, a) => args2 }, 1166return new()
8 references to ParameterBindingOptions
Microsoft.Extensions.AI.Abstractions (7)
Functions\AIFunctionFactory.cs (5)
677Dictionary<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions>? boundParameters = null; 700if (boundParameters?.TryGetValue(parameterInfo, out var options) is true && 722if (boundParameters?.TryGetValue(parameters[i], out AIFunctionFactoryOptions.ParameterBindingOptions options) is not true) 811AIFunctionFactoryOptions.ParameterBindingOptions bindingOptions, 1161Func<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)
322Func<ParameterInfo, AIFunctionFactoryOptions.ParameterBindingOptions> getBindParameterMode = _ => default;