1 instantiation of AsyncDisposableService
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
392
static _ => new
AsyncDisposableService
(),
6 references to AsyncDisposableService
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
391
typeof(
AsyncDisposableService
).GetMethod(nameof(
AsyncDisposableService
.GetThis))!,
398
var
d1 = Assert.IsType<
AsyncDisposableService
>(await func.InvokeAsync());
399
var
d2 = Assert.IsType<
AsyncDisposableService
>(await func.InvokeAsync());