1 instantiation of TestServerCallContext
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
59return new TestServerCallContext(requestHeaders ?? new Metadata(), cancellationToken);
13 references to TestServerCallContext
Aspire.Hosting.Tests (13)
Dashboard\DashboardServiceTests.cs (12)
54var context = TestServerCallContext.Create(); 107var context = TestServerCallContext.Create(); 181var context = TestServerCallContext.Create(cancellationToken: cts.Token); 235var context = TestServerCallContext.Create(cancellationToken: cts.Token); 304var context = TestServerCallContext.Create(cancellationToken: cts.Token); 340var context = TestServerCallContext.Create(cancellationToken: cts.Token);
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)