Implemented interface member:
method
StartAsync
Aspire.Cli.Projects.IAppHostServerSession.StartAsync()
24 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
141
/// if <see cref="
StartAsync
"/> has not been called (or threw before the process was published).
153
/// <exception cref="InvalidOperationException">Thrown if <see cref="
StartAsync
"/> has already been called.</exception>
255
/// <exception cref="InvalidOperationException">Thrown if <see cref="
StartAsync
"/> has not been called.</exception>
287
/// Returns an RPC client connected to the server. Must be called after <see cref="
StartAsync
"/>.
Aspire.Cli.Tests (15)
Projects\AppHostServerSessionTests.cs (15)
44
await session.
StartAsync
();
63
await session.
StartAsync
();
87
await session.
StartAsync
();
124
await session.
StartAsync
();
156
await session.
StartAsync
();
222
await session.
StartAsync
();
252
await session.
StartAsync
();
254
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);
266
await session.
StartAsync
();
315
await session.
StartAsync
();
359
await session.
StartAsync
();
399
await session.
StartAsync
();
431
await session.
StartAsync
();
459
await session.
StartAsync
();
512
await Assert.ThrowsAsync<InvalidOperationException>(session.
StartAsync
);