14 writes to Interaction
Aspire.Dashboard (1)
Components\Interactions\InteractionsProvider.cs (1)
346
Interaction
= item,
Aspire.Dashboard.Components.Tests (12)
Controls\MissingParametersPanelTests.cs (2)
84
Interaction
= interaction,
119
Interaction
= new WatchInteractionsResponseUpdate
Dialogs\InteractionsInputDialogTests.cs (10)
52
Interaction
= interaction,
119
Interaction
= interaction,
158
Interaction
= interaction,
224
Interaction
= interaction,
279
Interaction
= interaction,
351
Interaction
= interaction,
414
Interaction
= interaction,
701
Interaction
= interaction,
762
Interaction
= interaction,
790
Interaction
= interaction,
Aspire.Dashboard.Tests (1)
Model\ParameterInteractionStateTests.cs (1)
333
Interaction
= new WatchInteractionsResponseUpdate { InteractionId = interactionId, InputsDialog = inputsDialog },
23 references to Interaction
Aspire.Dashboard (16)
Components\Controls\MissingParametersPanel.razor.cs (4)
195
await interaction.OnSubmitCallback(interaction.
Interaction
, false);
253
interaction.
Interaction
.InteractionId,
290
await interaction.OnSubmitCallback(interaction.
Interaction
, true);
296
Logger.LogDebug(ex, "Error sending parameter input update for interaction {InteractionId}.", interaction.
Interaction
.InteractionId);
Components\Dialogs\InteractionsInputDialog.razor.cs (3)
157
_ = Content.OnSubmitCallback(Content.
Interaction
, true);
225
await Content.OnSubmitCallback(Content.
Interaction
, false);
265
var fileId = await Content.DashboardClient.UploadFileAsync(stream, file.Name, file.Size, Content.
Interaction
.InteractionId, inputModel.Input.Name, _disposalCts.Token);
Components\Interactions\InteractionsProvider.cs (4)
298
await InvokeAsync(() => ParameterInteractionState.ClearDialogInteraction(parameterDialogInteraction.
Interaction
.InteractionId));
378
var interactionId = interaction.
Interaction
.InteractionId;
393
await InvokeAsync(() => shownInline = ParameterInteractionState.Current?.
Interaction
.InteractionId == interactionId).ConfigureAwait(false);
438
if (ParameterInteractionState.Current?.
Interaction
.InteractionId == item.InteractionId)
Model\Interaction\InteractionsInputsDialogViewModel.cs (1)
21
public List<InteractionInput> Inputs =>
Interaction
.InputsDialog!.InputItems.ToList();
Model\ParameterInteractionState.cs (4)
88
if (Current is not null && Current.
Interaction
.InteractionId != current.
Interaction
.InteractionId)
126
if (_dialogInteraction?.Interaction.
Interaction
.InteractionId == interactionId)
147
if (Current?.
Interaction
.InteractionId == interactionId)
Aspire.Dashboard.Components.Tests (7)
Dialogs\InteractionsInputDialogTests.cs (4)
311
var update = viewModel.
Interaction
.Clone();
424
var update = viewModel.
Interaction
.Clone();
430
update = viewModel.
Interaction
.Clone();
624
var update = viewModel.
Interaction
.Clone();
Interactions\InteractionsProviderTests.cs (3)
404
() => state.Current?.
Interaction
.InteractionId == 1,
456
() => state.Current?.
Interaction
.InteractionId == 1,
474
Assert.Equal(1, state.Current?.
Interaction
.InteractionId);