21 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)
205result = 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 (13)
InteractionServiceTests.cs (13)
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 } }); 642new InteractionCompletionState { Complete = true, State = inputs }); 701new 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)