20 references to Notifications
Aspire.Hosting (5)
ConnectionStringBuilderExtensions.cs (2)
96await evt.Notifications.PublishUpdateAsync(r, s => s with 110await evt.Notifications.PublishUpdateAsync(r, s => s with
ExternalServiceBuilderExtensions.cs (3)
145await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with 157await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with 170await e.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with
Aspire.Hosting.Azure.EntraId (3)
EntraIdResourceExtensions.cs (3)
110await foreach (var update in evt.Notifications.WatchAsync(cancellationToken).ConfigureAwait(false)) 256await evt.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with 314return evt.Notifications.PublishUpdateAsync(resource, snapshot => snapshot with
Aspire.Hosting.Blazor (1)
BlazorGatewayExtensions.cs (1)
500var notificationService = e.Notifications;
Aspire.Hosting.MongoDB (5)
MongoDBSingleMemberReplicaSet.cs (1)
40await foreach (var update in evt.Notifications.WatchAsync(stopping.Token).ConfigureAwait(false))
ReplicaSet\MongoDBReplicaSetBuilderExtensions.cs (4)
116await evt.Notifications.PublishUpdateAsync(resource, s => s with 134await evt.Notifications.PublishUpdateAsync(resource, s => s with 359await evt.Notifications.PublishUpdateAsync(resource, s => s with 367await evt.Notifications.PublishUpdateAsync(resource, s => s with
Aspire.Hosting.OpenAI (2)
OpenAIExtensions.cs (2)
84await evt.Notifications.PublishUpdateAsync(r, s => s with 130await evt.Notifications.PublishUpdateAsync(r, s => s with
Aspire.Hosting.Tests (3)
Orchestrator\ApplicationOrchestratorTests.cs (2)
211Assert.Equal(resourceNotificationService, initEvent.Notifications); 1151await @event.Notifications.PublishUpdateAsync(resource, s => s with
WithUrlsTests.cs (1)
94await e.Notifications.PublishUpdateAsync(custom, s => s with
CustomResources.AppHost (1)
TalkingClockResource.cs (1)
61var notification = @event.Notifications; // Get the notification service for state updates.