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)
55var context = TestServerCallContext.Create(); 108var context = TestServerCallContext.Create(); 182var context = TestServerCallContext.Create(cancellationToken: cts.Token); 237var context = TestServerCallContext.Create(cancellationToken: cts.Token); 307var context = TestServerCallContext.Create(cancellationToken: cts.Token); 354var context = TestServerCallContext.Create(cancellationToken: cts.Token); 413var context = TestServerCallContext.Create(cancellationToken: cts.Token); 450var context = TestServerCallContext.Create(cancellationToken: cts.Token); 509var context = TestServerCallContext.Create(); 538var context = TestServerCallContext.Create(); 568var context = TestServerCallContext.Create();
Utils\Grpc\TestServerCallContext.cs (1)
57public static TestServerCallContext Create(Metadata? requestHeaders = null, CancellationToken cancellationToken = default)