12 writes to State
Aspire.Hosting (7)
Dashboard\DashboardServiceData.cs (3)
162return new InteractionCompletionState { Complete = true, State = request.MessageBox.Result }; 164return new InteractionCompletionState { Complete = true, State = request.MessageBar.Result }; 185return new InteractionCompletionState { Complete = true, State = inputsInfo.Inputs };
InteractionService.cs (1)
201result = new InteractionCompletionState { Complete = false, State = result.State };
Publishing\PublishingActivityReporter.cs (3)
282State = "Cannot prompt interaction while steps are in progress." 335State = inputsInfo.Inputs 342State = null
Aspire.Hosting.Tests (5)
InteractionServiceTests.cs (5)
31await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true, State = true }); 96await CompleteInteractionAsync(interactionService, id1.Value, new InteractionCompletionState { Complete = true, State = true }); 104await CompleteInteractionAsync(interactionService, id2.Value, new InteractionCompletionState { Complete = true, State = false }); 142var result1 = new InteractionCompletionState { Complete = true, State = true }; 150var result2 = new InteractionCompletionState { Complete = true, State = false };
5 references to State
Aspire.Hosting (5)
InteractionService.cs (5)
68var promptState = completion.State as bool?; 104var inputState = completion.State as IReadOnlyList<InteractionInput>; 124var promptState = completion.State as bool?; 201result = new InteractionCompletionState { Complete = false, State = result.State }; 229if (result.State is IReadOnlyList<InteractionInput> inputs)