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