1 instantiation of TestServerCallContext
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
59return new TestServerCallContext(requestHeaders ?? new Metadata(), cancellationToken);
23 references to TestServerCallContext
Aspire.Hosting.Tests (23)
Dashboard\DashboardServiceTests.cs (22)
54var context = TestServerCallContext.Create(); 107var context = TestServerCallContext.Create(); 181var context = TestServerCallContext.Create(cancellationToken: cts.Token); 236var context = TestServerCallContext.Create(cancellationToken: cts.Token); 306var context = TestServerCallContext.Create(cancellationToken: cts.Token); 353var context = TestServerCallContext.Create(cancellationToken: cts.Token); 412var context = TestServerCallContext.Create(cancellationToken: cts.Token); 449var context = TestServerCallContext.Create(cancellationToken: cts.Token); 508var context = TestServerCallContext.Create(); 537var context = TestServerCallContext.Create(); 567var context = TestServerCallContext.Create();
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)