19 writes to State
Aspire.Hosting (8)
Dashboard\DashboardServiceData.cs (3)
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 };
InteractionService.cs (1)
202result = new InteractionCompletionState { Complete = false, State = result.State };
Publishing\PublishingActivityReporter.cs (4)
277State = "Cannot prompt interaction while steps are in progress." 364State = inputsInfo.Inputs 380State = result 387State = null
Aspire.Hosting.Tests (11)
InteractionServiceTests.cs (11)
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 } }); 276await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } }); 307await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = new[] { input } });
5 references to State
Aspire.Hosting (5)
InteractionService.cs (5)
69var promptState = completion.State as bool?; 105var inputState = completion.State as IReadOnlyList<InteractionInput>; 125var promptState = completion.State as bool?; 202result = new InteractionCompletionState { Complete = false, State = result.State }; 236if (result.State is IReadOnlyList<InteractionInput> inputs)