1 implementation of Subscribe
Aspire.Hosting (1)
88 references to Subscribe
Aspire.Hosting (26)
Aspire.Hosting.Azure.Sql (1)
Aspire.Hosting.Dotnet.Tests (4)
Aspire.Hosting.EntityFrameworkCore (2)
Aspire.Hosting.Maui (6)
Aspire.Hosting.Maui.Tests (1)
Aspire.Hosting.MongoDB (1)
Aspire.Hosting.Testing.Tests (1)
Aspire.Hosting.Tests (39)
Eventing\DistributedApplicationBuilderEventingTests.cs (17)
27builder.Eventing.Subscribe<DummyEvent>(async (_, ct) =>
59builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
66builder.Eventing.Subscribe<DummyEvent>((@event, ct) =>
91builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
98builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
123builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
130builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
156builder.Eventing.Subscribe<DummyEvent>(async (@event, ct) =>
165builder.Eventing.Subscribe<DummyEvent>((@event, ct) =>
243builder.Eventing.Subscribe<BeforeResourceStartedEvent>((e, ct) =>
268builder.Eventing.Subscribe<BeforeStartEvent>((e, ct) =>
276builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>((e, ct) =>
284builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) =>
313builder.Eventing.Subscribe<AfterEndpointsAllocatedEvent>((e, ct) => Task.CompletedTask);
428builder.Eventing.Subscribe<AfterResourcesCreatedEvent>((e, ct) =>
524builder.Eventing.Subscribe<IDistributedApplicationEvent>((_, _) => Task.CompletedTask));
536builder.Eventing.Subscribe<AbstractDummyEvent>((_, _) => Task.CompletedTask));
Aspire.Playground.Tests (1)
CustomResources.AppHost (2)
HealthChecksSandbox.AppHost (1)
Stress.AppHost (2)
TestProject.AppHost (1)