22 writes to State
Aspire.Hosting (7)
Dashboard\DashboardServiceData.cs (3)
168return new InteractionCompletionState { Complete = true, State = request.MessageBox.Result }; 170return new InteractionCompletionState { Complete = true, State = request.Notification.Result }; 184return new InteractionCompletionState { Complete = !request.ResponseUpdate, State = inputsInfo.Inputs };
InteractionService.cs (1)
333result = new InteractionCompletionState { Complete = false, State = result.State };
Pipelines\PipelineActivityReporter.cs (3)
417State = inputsInfo.Inputs 433State = result 440State = null
Aspire.Hosting.Tests (15)
InteractionServiceTests.cs (15)
33await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = true }); 98await CompleteInteractionAsync(interactionService, id1.Value, new InteractionCompletionState { Complete = true, State = true }); 106await CompleteInteractionAsync(interactionService, id2.Value, new InteractionCompletionState { Complete = true, State = false }); 144var result1 = new InteractionCompletionState { Complete = true, State = true }; 152var result2 = new InteractionCompletionState { Complete = true, State = false }; 299new InteractionCompletionState { Complete = true, State = new[] { input } }, 323new InteractionCompletionState { Complete = true, State = new[] { input } }, 346new InteractionCompletionState { Complete = true, State = new[] { input } }, 369new InteractionCompletionState { Complete = true, State = new[] { input } }, 390new InteractionCompletionState { Complete = true, State = new[] { input } }, 413new InteractionCompletionState { Complete = true, State = new[] { input } }, 448new InteractionCompletionState { Complete = true, State = new[] { input } }, 784new InteractionCompletionState { Complete = true, State = inputs }, 909new InteractionCompletionState { Complete = false, State = inputsInteractionInfo.Inputs }, 966new InteractionCompletionState { Complete = true, State = inputs },
5 references to State
Aspire.Hosting (5)
InteractionService.cs (5)
95var promptState = completion.State as bool?; 209return completion.State is not IReadOnlyList<InteractionInput> inputState 236var promptState = completion.State as bool?; 333result = new InteractionCompletionState { Complete = false, State = result.State }; 367if (result.State is IReadOnlyList<InteractionInput> inputs)