1 instantiation of TestServerCallContext
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
59return new TestServerCallContext(requestHeaders ?? new Metadata(), cancellationToken);
17 references to TestServerCallContext
Aspire.Hosting.Tests (17)
Dashboard\DashboardServiceTests.cs (16)
53var context = TestServerCallContext.Create(); 106var context = TestServerCallContext.Create(); 180var context = TestServerCallContext.Create(cancellationToken: cts.Token); 234var context = TestServerCallContext.Create(cancellationToken: cts.Token); 303var context = TestServerCallContext.Create(cancellationToken: cts.Token); 349var context = TestServerCallContext.Create(cancellationToken: cts.Token); 407var context = TestServerCallContext.Create(cancellationToken: cts.Token); 443var context = TestServerCallContext.Create(cancellationToken: cts.Token);
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)