9 references to ResourceNotificationServiceOptions
Aspire.Hosting (3)
ApplicationModel\ResourceNotificationService.cs (2)
77DefaultWaitBehavior = serviceProvider.GetService<IOptions<ResourceNotificationServiceOptions>>()?.Value.DefaultWaitBehavior ?? WaitBehavior.StopOnResourceUnavailable; 201/// or configure the default behavior with <see cref="ResourceNotificationServiceOptions.DefaultWaitBehavior"/>.
DistributedApplicationBuilder.cs (1)
419_innerBuilder.Services.Configure<ResourceNotificationServiceOptions>(o =>
Aspire.Hosting.Testing (3)
DistributedApplicationTestingBuilder.cs (1)
402builder.Services.Configure<ResourceNotificationServiceOptions>(
DistributedApplicationTestingBuilderOptions.cs (2)
52/// Enabling the dashboard sets <see cref="ResourceNotificationServiceOptions.DefaultWaitBehavior"/> to 54/// for <c>WaitFor</c>, configure <see cref="ResourceNotificationServiceOptions"/> through the returned builder
Aspire.Hosting.Testing.Tests (1)
DashboardTestingBuilderTests.cs (1)
107app.Services.GetRequiredService<IOptions<ResourceNotificationServiceOptions>>().Value.DefaultWaitBehavior);
Aspire.Hosting.Tests (2)
WaitForTests.cs (2)
285builder.Services.Configure<ResourceNotificationServiceOptions>(o => 392builder.Services.Configure<ResourceNotificationServiceOptions>(o =>