24 writes to Complete
Aspire.Hosting (10)
Dashboard\DashboardServiceData.cs (4)
164return new InteractionCompletionState { Complete = true, State = request.MessageBox.Result }; 166return new InteractionCompletionState { Complete = true, State = request.Notification.Result }; 187return new InteractionCompletionState { Complete = true, State = inputsInfo.Inputs }; 189return new InteractionCompletionState { Complete = true };
InteractionService.cs (2)
148interactionState.CompletionTcs.TrySetResult(new InteractionCompletionState { Complete = true }); 205result = new InteractionCompletionState { Complete = false, State = result.State };
Publishing\PublishingActivityReporter.cs (4)
276Complete = true, 363Complete = true, 379Complete = true, 386Complete = true,
Aspire.Hosting.Tests (14)
InteractionServiceTests.cs (14)
30await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = true }); 95await CompleteInteractionAsync(interactionService, id1.Value, new InteractionCompletionState { Complete = true, State = true }); 103await CompleteInteractionAsync(interactionService, id2.Value, new InteractionCompletionState { Complete = true, State = false }); 109await CompleteInteractionAsync(interactionService, id3.Value, new InteractionCompletionState { Complete = true }); 141var result1 = new InteractionCompletionState { Complete = true, State = true }; 149var result2 = new InteractionCompletionState { Complete = true, State = false }; 196await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 216await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 236await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 256await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 276await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 307await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 642new InteractionCompletionState { Complete = true, State = inputs }); 701new InteractionCompletionState { Complete = true, State = inputs });
2 references to Complete
Aspire.Hosting (2)
InteractionService.cs (2)
216if (result.Complete) 236if (result.Complete && interactionState.InteractionInfo is Interaction.InputsInteractionInfo inputsInfo)