11 references to Create
Microsoft.Extensions.AI.Abstractions (2)
Functions\AIFunctionFactoryOptions.cs (2)
110/// Gets or sets a delegate used with <see cref="AIFunctionFactory.Create(MethodInfo, Type, AIFunctionFactoryOptions?)"/> to create the receiver instance. 114/// <see cref="AIFunctionFactory.Create(MethodInfo, Type, AIFunctionFactoryOptions?)"/> creates <see cref="AIFunction"/> instances that invoke an
Microsoft.Extensions.AI.Tests (9)
Functions\AIFunctionFactoryTest.cs (9)
32Assert.Throws<ArgumentNullException>("targetType", () => AIFunctionFactory.Create(typeof(AIFunctionFactoryTest).GetMethod(nameof(InvalidArguments_Throw))!, (Type)null!)); 313AIFunction func = AIFunctionFactory.Create( 335AIFunction func = AIFunctionFactory.Create( 352AIFunction func = AIFunctionFactory.Create( 363Assert.Throws<ArgumentException>("method", () => AIFunctionFactory.Create( 371Assert.Throws<ArgumentException>("targetType", () => AIFunctionFactory.Create( 379AIFunction func = AIFunctionFactory.Create( 398AIFunction func = AIFunctionFactory.Create( 417AIFunction func = AIFunctionFactory.Create(