12 instantiations of WaitForResourceResponse
aspire (1)
Backchannel\AppHostAuxiliaryBackchannel.cs (1)
991
return new
WaitForResourceResponse
Aspire.Cli.Tests (11)
Backchannel\ResourceWaitServiceTests.cs (3)
34
return Task.FromResult(new
WaitForResourceResponse
64
WaitForResourceHandler = (_, _, _, _) => Task.FromResult(new
WaitForResourceResponse
94
WaitForResourceHandler = (_, _, _, _) => Task.FromResult(new
WaitForResourceResponse
Commands\WaitCommandTests.cs (7)
145
WaitForResourceResult = new
WaitForResourceResponse
191
return Task.FromResult(new
WaitForResourceResponse
{ Success = true, State = "Running" });
230
WaitForResourceResult = new
WaitForResourceResponse
{ Success = true, State = "Running", HealthStatus = "Healthy" }
255
WaitForResourceResult = new
WaitForResourceResponse
298
WaitForResourceResult = new
WaitForResourceResponse
{ Success = true, State = "Exited" }
323
WaitForResourceResult = new
WaitForResourceResponse
366
WaitForResourceResult = new
WaitForResourceResponse
TestServices\TestAppHostAuxiliaryBackchannel.cs (1)
303
public WaitForResourceResponse WaitForResourceResult { get; set; } = new
WaitForResourceResponse
{ Success = true, State = "Running" };
10 references to WaitForResourceResponse
aspire (6)
Backchannel\AppHostAuxiliaryBackchannel.cs (3)
983
public async Task<
WaitForResourceResponse
> WaitForResourceAsync(
1009
var
response = await rpc.InvokeWithProfilingAsync<
WaitForResourceResponse
>(
Backchannel\BackchannelJsonSerializerContext.cs (1)
94
[JsonSerializable(typeof(
WaitForResourceResponse
))]
Backchannel\IAppHostAuxiliaryBackchannel.cs (1)
184
Task<
WaitForResourceResponse
> WaitForResourceAsync(
Backchannel\ResourceWaitService.cs (1)
50
var
response = await connection.WaitForResourceAsync(
Aspire.Cli.Tests (4)
Commands\TerminalCommandTests.cs (1)
704
public Task<
WaitForResourceResponse
> WaitForResourceAsync(string resourceName, string status, int timeoutSeconds, CancellationToken cancellationToken = default)
TestServices\TestAppHostAuxiliaryBackchannel.cs (3)
303
public
WaitForResourceResponse
WaitForResourceResult { get; set; } = new WaitForResourceResponse { Success = true, State = "Running" };
305
public Func<string, string, int, CancellationToken, Task<
WaitForResourceResponse
>>? WaitForResourceHandler { get; set; }
307
public Task<
WaitForResourceResponse
> WaitForResourceAsync(