19 writes to State
Aspire.Hosting (8)
Dashboard\DashboardServiceData.cs (3)
164
return new InteractionCompletionState { Complete = true,
State
= request.MessageBox.Result };
166
return new InteractionCompletionState { Complete = true,
State
= request.Notification.Result };
187
return new InteractionCompletionState { Complete = true,
State
= inputsInfo.Inputs };
InteractionService.cs (1)
202
result = new InteractionCompletionState { Complete = false,
State
= result.State };
Publishing\PublishingActivityReporter.cs (4)
277
State
= "Cannot prompt interaction while steps are in progress."
364
State
= inputsInfo.Inputs
380
State
= result
387
State
= null
Aspire.Hosting.Tests (11)
InteractionServiceTests.cs (11)
30
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= true });
95
await CompleteInteractionAsync(interactionService, id1.Value, new InteractionCompletionState { Complete = true,
State
= true });
103
await CompleteInteractionAsync(interactionService, id2.Value, new InteractionCompletionState { Complete = true,
State
= false });
141
var result1 = new InteractionCompletionState { Complete = true,
State
= true };
149
var result2 = new InteractionCompletionState { Complete = true,
State
= false };
196
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
216
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
236
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
256
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
276
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
307
await CompleteInteractionAsync(interactionService, interaction.InteractionId, new InteractionCompletionState { Complete = true,
State
= new[] { input } });
5 references to State
Aspire.Hosting (5)
InteractionService.cs (5)
69
var promptState = completion.
State
as bool?;
105
var inputState = completion.
State
as IReadOnlyList<InteractionInput>;
125
var promptState = completion.
State
as bool?;
202
result = new InteractionCompletionState { Complete = false, State = result.
State
};
236
if (result.
State
is IReadOnlyList<InteractionInput> inputs)