2 instantiations of new
Microsoft.Extensions.AI.Tests (2)
Functions\AIFunctionFactoryTest.cs (2)
306MyFunctionTypeWithOneArg mft = new(new()); 307MyArgumentType mat = new();
3 references to new
Microsoft.Extensions.AI.Tests (3)
Functions\AIFunctionFactoryTest.cs (3)
307MyArgumentType mat = new(); 324var result = (Tuple<MyFunctionTypeWithOneArg, MyArgumentType>?)await func.InvokeAsync(new() { Services = sp }); 810private sealed class MyFunctionTypeWithOneArg(MyArgumentType arg)