2 implementations of IAppHostServerSession
aspire (1)
Projects\AppHostServerSession.cs (1)
29
internal sealed class AppHostServerSession :
IAppHostServerSession
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
17
internal sealed class FakeAppHostServerSession :
IAppHostServerSession
18 references to IAppHostServerSession
aspire (14)
Commands\Sdk\SdkDumpCommand.cs (2)
203
await using
var
serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
302
await using
var
serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Commands\Sdk\SdkExportCommand.cs (1)
210
await using
var
serverSession = _serverSessionFactory.Create(
Commands\Sdk\SdkGenerateCommand.cs (1)
157
await using
var
serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
Projects\AppHostServerSession.cs (1)
479
public
IAppHostServerSession
Create(
Projects\GuestAppHostProject.cs (4)
322
await using
var
serverSession = _serverSessionFactory.Create(appHostServerProject, environmentVariables: null, debug: false, gracefulShutdownSignaler: null, shutdownService: null, isolateConsole: false, cancellationToken);
490
await using
var
serverSession = _serverSessionFactory.Create(
1119
await using
var
serverSession = _serverSessionFactory.Create(
1322
IAppHostServerSession
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
87
IAppHostServerSession
Create(
Scaffolding\ScaffoldingService.cs (1)
153
await 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)
1801
IAppHostServerSession
serverSession,
TestServices\FakeAppHostServerSession.cs (3)
14
/// Fake <see cref="
IAppHostServerSession
"/> that returns a <see cref="FakeAppHostRpcClient"/>
84
public
IAppHostServerSession
? Session { get; init; }
105
public
IAppHostServerSession
Create(