22 writes to State
Aspire.Hosting (8)
Dashboard\DashboardServiceData.cs (3)
168return new InteractionCompletionState { Complete = true, State = request.MessageBox.Result }; 170return new InteractionCompletionState { Complete = true, State = request.Notification.Result }; 191return new InteractionCompletionState { Complete = true, State = inputsInfo.Inputs };
InteractionService.cs (1)
205result = new InteractionCompletionState { Complete = false, State = result.State };
Publishing\PublishingActivityReporter.cs (4)
277State = "Cannot prompt interaction while steps are in progress." 365State = inputsInfo.Inputs 381State = result 388State = null
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 }); 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 } }); 274await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 294await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 325await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 660new InteractionCompletionState { Complete = true, State = inputs }); 719new InteractionCompletionState { Complete = true, State = inputs });
5 references to State
Aspire.Hosting (5)
InteractionService.cs (5)
69var promptState = completion.State as bool?; 108var inputState = completion.State as IReadOnlyList<InteractionInput>; 128var promptState = completion.State as bool?; 205result = new InteractionCompletionState { Complete = false, State = result.State }; 239if (result.State is IReadOnlyList<InteractionInput> inputs)