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)
87internal async Task<(ExecuteCommandResult result, string? errorMessage)> ExecuteCommandAsync(string resourceId, string type, CancellationToken cancellationToken) 103return (ExecuteCommandResult.Success, null); 108return (ExecuteCommandResult.Failure, result.ErrorMessage); 114return (ExecuteCommandResult.Failure, "Unhandled exception thrown."); 120return (ExecuteCommandResult.Canceled, null);