8 references to ExecuteCommandResult
Aspire.Hosting (8)
Dashboard\DashboardService.cs (3)
166
DashboardServiceData.
ExecuteCommandResult
.Success => ResourceCommandResponseKind.Succeeded,
167
DashboardServiceData.
ExecuteCommandResult
.Canceled => ResourceCommandResponseKind.Cancelled,
168
DashboardServiceData.
ExecuteCommandResult
.Failure => ResourceCommandResponseKind.Failed,
Dashboard\DashboardServiceData.cs (5)
87
internal async Task<(
ExecuteCommandResult
result, string? errorMessage)> ExecuteCommandAsync(string resourceId, string type, CancellationToken cancellationToken)
103
return (
ExecuteCommandResult
.Success, null);
108
return (
ExecuteCommandResult
.Failure, result.ErrorMessage);
114
return (
ExecuteCommandResult
.Failure, "Unhandled exception thrown.");
120
return (
ExecuteCommandResult
.Canceled, null);