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