15 references to BrowserPageSessionCompletionKind
Aspire.Hosting.Browsers (15)
BrowserLogsRunningSession.cs (5)
285BrowserPageSessionCompletionKind.Stopped => new BrowserSessionResult(ExitCode: null, Error: null),
286BrowserPageSessionCompletionKind.PageClosed => new BrowserSessionResult(ExitCode: null, Error: null),
287BrowserPageSessionCompletionKind.BrowserExited => new BrowserSessionResult(ExitCode: null, result.Error),
288BrowserPageSessionCompletionKind.PageCrashed => new BrowserSessionResult(ExitCode: null, result.Error),
289BrowserPageSessionCompletionKind.ConnectionLost => new BrowserSessionResult(ExitCode: null, result.Error),
BrowserPageSession.cs (9)
104new BrowserPageSessionResult(BrowserPageSessionCompletionKind.PageClosed, Error: null),
108BrowserPageSessionCompletionKind.PageCrashed,
114new BrowserPageSessionResult(BrowserPageSessionCompletionKind.PageClosed, Error: null),
118? new BrowserPageSessionResult(BrowserPageSessionCompletionKind.PageClosed, Error: null)
120BrowserPageSessionCompletionKind.ConnectionLost,
214_completionSource.TrySetResult(new BrowserPageSessionResult(BrowserPageSessionCompletionKind.Stopped, Error: null));
347return new BrowserPageSessionResult(BrowserPageSessionCompletionKind.BrowserExited, error);
363return new BrowserPageSessionResult(BrowserPageSessionCompletionKind.Stopped, Error: null);
373return new BrowserPageSessionResult(BrowserPageSessionCompletionKind.ConnectionLost, connectionError);