6 instantiations of BrowserSessionResult
Aspire.Hosting.Browsers.Tests (6)
src\Aspire.Hosting.Browsers\BrowserLogsRunningSession.cs (6)
283BrowserPageSessionCompletionKind.Stopped => new BrowserSessionResult(ExitCode: null, Error: null), 284BrowserPageSessionCompletionKind.PageClosed => new BrowserSessionResult(ExitCode: null, Error: null), 285BrowserPageSessionCompletionKind.BrowserExited => new BrowserSessionResult(ExitCode: null, result.Error), 286BrowserPageSessionCompletionKind.PageCrashed => new BrowserSessionResult(ExitCode: null, result.Error), 287BrowserPageSessionCompletionKind.ConnectionLost => new BrowserSessionResult(ExitCode: null, result.Error), 288_ => new BrowserSessionResult(ExitCode: null, Error: null)
4 references to BrowserSessionResult
Aspire.Hosting.Browsers.Tests (4)
src\Aspire.Hosting.Browsers\BrowserLogsRunningSession.cs (4)
98private Task<BrowserSessionResult>? _completion; 141private Task<BrowserSessionResult> Completion => _completion ?? throw new InvalidOperationException("Session has not been started."); 273private async Task<BrowserSessionResult> MonitorAsync() 301var result = await Completion.ConfigureAwait(false);