5 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (5)
Functions\AIFunctionFactoryTest.cs (5)
179
ConfigureParameterBinding
= getBindParameterMode,
216
ConfigureParameterBinding
= p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default,
509
ConfigureParameterBinding
= p =>
561
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => sp2 },
578
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => args2 },
17 references to ConfigureParameterBinding
Microsoft.Extensions.AI.Abstractions (15)
Functions\AIFunctionFactory.cs (13)
66
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
76
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
81
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
86
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
229
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
239
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
244
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
249
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
416
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
426
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
431
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
436
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
633
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"/>.
127
/// <summary>Provides configuration options produced by the <see cref="
ConfigureParameterBinding
"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
185
Assert.Same(getBindParameterMode, options.
ConfigureParameterBinding
);
206
Assert.Null(options.
ConfigureParameterBinding
);