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