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