15 references to CompletedWithWarning
Aspire.Hosting (6)
Publishing\PublishingActivityProgressReporter.cs (4)
163
CompletionState.
CompletedWithWarning
=> $"{Title} completed with warnings",
263
await Reporter.CompleteTaskAsync(this, CompletionState.
CompletedWithWarning
, completionMessage, cancellationToken).ConfigureAwait(false);
374
CompletionState.
CompletedWithWarning
=> CompletionStates.CompletedWithWarning,
550
CompletionState.
CompletedWithWarning
=> "Publishing completed with warnings",
Publishing\PublishingExtensions.cs (2)
58
await step.Reporter.CompleteStepAsync(step, completionText, CompletionState.
CompletedWithWarning
, cancellationToken).ConfigureAwait(false);
147
await task.Reporter.CompleteTaskAsync(task, CompletionState.
CompletedWithWarning
, message, cancellationToken).ConfigureAwait(false);
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
267
0 => ("No azure compute environments found in the model.", CompletionState.
CompletedWithWarning
),
Aspire.Hosting.Tests (8)
Publishing\PublishingActivityProgressReporterTests.cs (7)
217
[InlineData(CompletionState.
CompletedWithWarning
, false, true)]
272
[InlineData(CompletionState.
CompletedWithWarning
, "Publishing completed with warnings", false)]
289
Assert.Equal(completionState == CompletionState.
CompletedWithWarning
, activity.Data.IsWarning);
308
await reporter.CompleteTaskAsync(task2, CompletionState.
CompletedWithWarning
, null, CancellationToken.None);
309
await reporter.CompleteStepAsync(step2, "Step 2 completed with warning", CompletionState.
CompletedWithWarning
, CancellationToken.None);
624
await reporter.CompleteTaskAsync(task2, CompletionState.
CompletedWithWarning
, null, CancellationToken.None);
633
Assert.Equal(CompletionState.
CompletedWithWarning
, step.CompletionState);
Publishing\PublishingExtensionsTests.cs (1)
123
Assert.Equal(CompletionState.
CompletedWithWarning
, task.CompletionState);