5 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
178
ConfigureParameterBinding
= getBindParameterMode,
215
ConfigureParameterBinding
= p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default,
502
ConfigureParameterBinding
= p =>
554
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => sp2 },
571
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => args2 },
20 references to ConfigureParameterBinding
Microsoft.Extensions.AI (18)
Functions\AIFunctionFactory.cs (16)
61
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
71
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
80
/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
85
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
90
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
241
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
251
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
260
/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
265
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
270
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
446
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
456
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
465
/// The handling of such parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
470
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
475
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
664
DescriptorKey key = new(method, options.Name, options.Description, options.
ConfigureParameterBinding
, options.MarshalResult, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
71
/// <see cref="
ConfigureParameterBinding
"/> is <see langword="null"/>.
109
/// <summary>Provides configuration options produced by the <see cref="
ConfigureParameterBinding
"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
184
Assert.Same(getBindParameterMode, options.
ConfigureParameterBinding
);
205
Assert.Null(options.
ConfigureParameterBinding
);