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