Implemented interface member:
method
StartAsync
Aspire.Cli.Projects.IAppHostServerSession.StartAsync()
22 references to StartAsync
aspire (9)
Projects\AppHostServerSession.cs (9)
15/// (including the stop token) without launching anything; <see cref="StartAsync"/> launches the 95/// <see cref="StartAsync"/> so callers can plumb it into the guest AppHost environment. 100/// Gets the RPC socket path, or <see langword="null"/> if <see cref="StartAsync"/> has not 107/// <see cref="StartAsync"/> has not been called (or threw before the process was published). 113/// if <see cref="StartAsync"/> has not been called (or threw before the process was 144/// if <see cref="StartAsync"/> has not been called (or threw before the process was published). 156/// <exception cref="InvalidOperationException">Thrown if <see cref="StartAsync"/> has already been called.</exception> 258/// <exception cref="InvalidOperationException">Thrown if <see cref="StartAsync"/> has not been called.</exception> 290/// Returns an RPC client connected to the server. Must be called after <see cref="StartAsync"/>.
Aspire.Cli.Tests (13)
Projects\AppHostServerSessionTests.cs (13)
42await session.StartAsync(); 70await session.StartAsync(); 107await session.StartAsync(); 139await session.StartAsync(); 180await session.StartAsync(); 182await Assert.ThrowsAsync<InvalidOperationException>(session.StartAsync); 194await session.StartAsync(); 243await session.StartAsync(); 287await session.StartAsync(); 327await session.StartAsync(); 359await session.StartAsync(); 387await session.StartAsync(); 440await Assert.ThrowsAsync<InvalidOperationException>(session.StartAsync);