2 implementations of IAppHostRpcClient
aspire (1)
Projects\AppHostRpcClient.cs (1)
17internal sealed class AppHostRpcClient : IAppHostRpcClient
Aspire.Cli.Tests (1)
TestServices\FakeAppHostServerSession.cs (1)
131internal class FakeAppHostRpcClient : IAppHostRpcClient
33 references to IAppHostRpcClient
aspire (24)
Commands\Sdk\SdkDumpCommand.cs (3)
210var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken); 308var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken); 349IAppHostRpcClient rpcClient,
Commands\Sdk\SdkExportCommand.cs (1)
221var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken);
Commands\Sdk\SdkGenerateCommand.cs (1)
164var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken);
Projects\AppHostRpcClient.cs (3)
15/// Implementation of <see cref="IAppHostRpcClient"/> using JSON-RPC over sockets/pipes. 253/// Factory for creating <see cref="IAppHostRpcClient"/> instances. 258public async Task<IAppHostRpcClient> ConnectAsync(string socketPath, string authenticationToken, CancellationToken cancellationToken)
Projects\AppHostServerSession.cs (2)
59private IAppHostRpcClient? _rpcClient; 295public async Task<IAppHostRpcClient> GetRpcClientAsync(CancellationToken cancellationToken)
Projects\GuestAppHostProject.cs (9)
446var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken); 492var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken); 709IAppHostRpcClient rpcClient; 1509IAppHostRpcClient rpcClient; 2083IAppHostRpcClient rpcClient, 2490IAppHostRpcClient rpcClient, 2539IAppHostRpcClient rpcClient, 2605IAppHostRpcClient rpcClient, 2631IAppHostRpcClient rpcClient,
Projects\IAppHostRpcClient.cs (1)
113Task<IAppHostRpcClient> ConnectAsync(string socketPath, string authenticationToken, CancellationToken cancellationToken);
Projects\IAppHostServerSession.cs (1)
64Task<IAppHostRpcClient> GetRpcClientAsync(CancellationToken cancellationToken);
Scaffolding\ScaffoldingService.cs (3)
173var rpcClient = await serverSession.GetRpcClientAsync(cancellationToken); 435IAppHostRpcClient rpcClient, 497IAppHostRpcClient rpcClient,
Aspire.Cli.Tests (9)
Commands\Sdk\SdkExportCommandTests.cs (1)
395IAppHostRpcClient rpcClient,
Projects\GuestAppHostProjectTests.cs (4)
249GetRpcClientAsyncCallback = _ => Task.FromException<IAppHostRpcClient>( 2066GetRpcClientAsyncCallback = _ => Task.FromException<IAppHostRpcClient>( 2203GetRpcClientAsyncCallback = _ => Task.FromException<IAppHostRpcClient>( 2261GetRpcClientAsyncCallback = _ => Task.FromException<IAppHostRpcClient>(
TestServices\FakeAppHostServerSession.cs (4)
20private readonly IAppHostRpcClient _rpcClient; 23public FakeAppHostServerSession(IAppHostRpcClient? rpcClient = null) 30public Func<CancellationToken, Task<IAppHostRpcClient>>? GetRpcClientAsyncCallback { get; init; } 67public Task<IAppHostRpcClient> GetRpcClientAsync(CancellationToken cancellationToken)