2 implementations of IAppHostServerSession
aspire (1)
Projects\AppHostServerSession.cs (1)
29internal sealed class AppHostServerSession : IAppHostServerSession
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
18internal sealed class FakeAppHostServerSession : IAppHostServerSession
20 references to IAppHostServerSession
aspire (15)
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)
481public IAppHostServerSession Create(
Projects\GuestAppHostProject.cs (5)
374await using var serverSession = _serverSessionFactory.Create( 419await using var serverSession = _serverSessionFactory.Create( 618await using var serverSession = _serverSessionFactory.Create( 1408await using var serverSession = _serverSessionFactory.Create( 1603IAppHostServerSession 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)
166await using var serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Aspire.Cli.Tests (5)
Projects\GuestAppHostProjectTests.cs (1)
2432IAppHostServerSession serverSession,
TestServices\FakeAppHostServerSession.cs (4)
15/// Fake <see cref="IAppHostServerSession"/> that returns a <see cref="FakeAppHostRpcClient"/> 85public IAppHostServerSession? Session { get; init; } 87public Func<IAppHostServerSession>? CreateCallback { get; init; } 110public IAppHostServerSession Create(