Implemented interface member:
property
Eventing
Aspire.Hosting.IDistributedApplicationBuilder.Eventing
30 references to Eventing
Aspire.Hosting.Redis.Tests (5)
RedisFunctionalTests.cs (5)
159builder1.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) => 197builder2.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) => 249builder.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder.Resource, (evt, ct) => 583builder1.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder1.Resource, (evt, ct) => 626builder2.Eventing.Subscribe<ResourceReadyEvent>(redisInsightBuilder2.Resource, (evt, ct) =>
Aspire.Hosting.Tests (25)
Eventing\DistributedApplicationBuilderEventingTests.cs (18)
24builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 31builder.Eventing.Subscribe<DummyEvent>((@event, ct) => 37var pendingPublish = builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.BlockingSequential); 56builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 63builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 70var pendingPublish = builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.BlockingConcurrent); 88builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 95builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 102await builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.NonBlockingConcurrent).DefaultTimeout(); 121builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) => 130builder.Eventing.Subscribe<DummyEvent>((@event, ct) => 137await builder.Eventing.PublishAsync(new DummyEvent(), EventDispatchBehavior.NonBlockingSequential).DefaultTimeout(); 170Assert.Equal(builder.Eventing, eventing); 182builder.Eventing.Subscribe<BeforeResourceStartedEvent>(redis.Resource, (e, ct) => 209builder.Eventing.Subscribe<BeforeResourceStartedEvent>((e, ct) => 234builder.Eventing.Subscribe<BeforeStartEvent>((e, ct) => 241builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>((e, ct) => 248builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) =>
Health\ResourceHealthCheckServiceTests.cs (6)
115builder.Eventing.Subscribe<ResourceReadyEvent>(resource.Resource, (@event, ct) => 309builder.Eventing.Subscribe<ResourceReadyEvent>(resource.Resource, (@event, ct) => 389builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 449builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 496builder.Eventing.Subscribe<ResourceReadyEvent>(parent.Resource, (@event, ct) => 505builder.Eventing.Subscribe<ResourceReadyEvent>(child.Resource, (@event, ct) =>
WaitForTests.cs (1)
276builder.Eventing.Subscribe<ResourceReadyEvent>(dependency.Resource, (e, ct) => resourceReadyTcs.Task);