3 types derived from SessionNotification
Microsoft.WebTools.AspireService.Tests (3)
SessionChangeNotification.cs (3)
44internal sealed class SessionTerminatedNotification : SessionNotification 65internal sealed class ProcessRestartedNotification : SessionNotification 79internal sealed class ServiceLogsNotification : SessionNotification
7 references to SessionNotification
Microsoft.WebTools.AspireService.Tests (7)
AspireServerService.cs (2)
165where TNotification : SessionNotification 216runSessionApi.Map(SessionNotification.Url, RunSessionNotifyAsync);
AspireServerServiceTests.cs (5)
361private async Task ListenForSessionUpdatesAsync(AspireServerService aspireServer, TaskCompletionSource<bool> connected, Action<SessionNotification> callback) 370await ws.ConnectAsync(new Uri($"wss://{tokens.serverAddress}{RunSessionRequest.Url}{SessionNotification.Url}"), httpClient, CancellationToken.None); 401var notification = JsonSerializer.Deserialize<SessionNotification>(message, AspireServerService.JsonSerializerOptions); 404SessionNotification value = notification.NotificationType switch