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)
437State = inputsInfo.Inputs 453State = result 460State = null
Aspire.Hosting.Tests (15)
InteractionServiceTests.cs (15)
34await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = true }); 99await CompleteInteractionAsync(interactionService, id1.Value, new InteractionCompletionState { Complete = true, State = true }); 107await CompleteInteractionAsync(interactionService, id2.Value, new InteractionCompletionState { Complete = true, State = false }); 145var result1 = new InteractionCompletionState { Complete = true, State = true }; 153var result2 = new InteractionCompletionState { Complete = true, State = false }; 300new InteractionCompletionState { Complete = true, State = new[] { input } }, 324new InteractionCompletionState { Complete = true, State = new[] { input } }, 347new InteractionCompletionState { Complete = true, State = new[] { input } }, 370new InteractionCompletionState { Complete = true, State = new[] { input } }, 391new InteractionCompletionState { Complete = true, State = new[] { input } }, 414new InteractionCompletionState { Complete = true, State = new[] { input } }, 449new InteractionCompletionState { Complete = true, State = new[] { input } }, 785new InteractionCompletionState { Complete = true, State = inputs }, 910new InteractionCompletionState { Complete = false, State = inputsInteractionInfo.Inputs }, 967new 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)