1 implementation of IBrowserHost
Aspire.Hosting.Browsers (1)
BrowserHost.cs (1)
17bool reuseInitialBlankTarget) : IBrowserHost
16 references to IBrowserHost
Aspire.Hosting.Browsers (16)
BrowserHostRegistry.cs (9)
18private readonly Func<BrowserConfiguration, BrowserHostIdentity, BrowserLogsUserDataDirectory, CancellationToken, Task<IBrowserHost>> _createHostAsync; 39Func<BrowserConfiguration, BrowserHostIdentity, BrowserLogsUserDataDirectory, CancellationToken, Task<IBrowserHost>>? createHostAsync, 95var host = await _createHostAsync(configuration, identity, userDataDirectory, cancellationToken).ConfigureAwait(false); 125List<IBrowserHost> hosts; 143foreach (var host in hosts) 156IBrowserHost? hostToDispose = null; 290private async Task<IBrowserHost> CreateHostCoreAsync( 375private sealed class BrowserHostEntry(IBrowserHost host, string? profileDirectoryName, int ReferenceCount) 377public IBrowserHost Host { get; } = host;
BrowserLogsRunningSession.cs (1)
228var browserHost = _browserHostLease.Host;
BrowserPageSession.cs (4)
31private readonly IBrowserHost _host; 50IBrowserHost host, 128IBrowserHost host, 152IBrowserHost host,
IBrowserHost.cs (2)
91public BrowserHostLease(IBrowserHost host, Func<CancellationToken, ValueTask> releaseAsync) 97public IBrowserHost Host { get; }