1 instantiation of DisposableService
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
364
static _ => new
DisposableService
(),
6 references to DisposableService
Microsoft.Extensions.AI.Tests (6)
Functions\AIFunctionFactoryTest.cs (6)
363
typeof(
DisposableService
).GetMethod(nameof(
DisposableService
.GetThis))!,
370
var
d1 = Assert.IsType<
DisposableService
>(await func.InvokeAsync());
371
var
d2 = Assert.IsType<
DisposableService
>(await func.InvokeAsync());