2 implementations of IAppHostServerSession
aspire (1)
Projects\AppHostServerSession.cs (1)
29internal sealed class AppHostServerSession : IAppHostServerSession
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
17internal sealed class FakeAppHostServerSession : IAppHostServerSession
18 references to IAppHostServerSession
aspire (14)
Commands\Sdk\SdkDumpCommand.cs (2)
203await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken); 302await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Commands\Sdk\SdkExportCommand.cs (1)
210await using var serverSession = _serverSessionFactory.Create(
Commands\Sdk\SdkGenerateCommand.cs (1)
157await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Projects\AppHostServerSession.cs (1)
479public IAppHostServerSession Create(
Projects\GuestAppHostProject.cs (4)
322await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken); 490await using var serverSession = _serverSessionFactory.Create( 1119await using var serverSession = _serverSessionFactory.Create( 1322IAppHostServerSession serverSession,
Projects\IAppHostServerSession.cs (4)
68/// Creates <see cref="IAppHostServerSession"/> instances. Production wires this to construct real 75/// The caller drives it via <see cref="IAppHostServerSession.StartAsync"/>, 76/// <see cref="IAppHostServerSession.GetRpcClientAsync"/>, then disposal. Cancelling 87IAppHostServerSession Create(
Scaffolding\ScaffoldingService.cs (1)
153await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Aspire.Cli.Tests (4)
Projects\GuestAppHostProjectTests.cs (1)
1801IAppHostServerSession serverSession,
TestServices\FakeAppHostServerSession.cs (3)
14/// Fake <see cref="IAppHostServerSession"/> that returns a <see cref="FakeAppHostRpcClient"/> 84public IAppHostServerSession? Session { get; init; } 105public IAppHostServerSession Create(