6 writes to ConfigureParameterBinding
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
250
ConfigureParameterBinding
= getBindParameterMode,
288
ConfigureParameterBinding
= p => p.Name == "firstParameter" ? new() { ExcludeFromSchema = true } : default,
586
ConfigureParameterBinding
= p =>
638
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => sp2 },
655
ConfigureParameterBinding
= p => new() { BindParameter = (p, a) => args2 },
1004
ConfigureParameterBinding
= p =>
17 references to ConfigureParameterBinding
Microsoft.Extensions.AI.Abstractions (15)
Functions\AIFunctionFactory.cs (13)
67
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
77
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
82
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
87
/// binding ignores this collection, but a custom binding supplied via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> may choose to
230
/// The handling of <see cref="IServiceProvider"/> parameters may be overridden via <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
240
/// <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/>.
245
/// and are included in the generated JSON schema. This may be overridden by the <see cref="AIFunctionFactoryOptions.
ConfigureParameterBinding
"/> provided
250
/// 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
618
DescriptorKey key = new(method, options.Name, options.Description, options.
ConfigureParameterBinding
, options.MarshalResult, options.ExcludeResultSchema, schemaOptions);
Functions\AIFunctionFactoryOptions.cs (2)
71
/// <see cref="
ConfigureParameterBinding
"/> is <see langword="null"/>.
122
/// <summary>Provides configuration options produced by the <see cref="
ConfigureParameterBinding
"/> delegate.</summary>
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
256
Assert.Same(getBindParameterMode, options.
ConfigureParameterBinding
);
277
Assert.Null(options.
ConfigureParameterBinding
);