9 instantiations of InputViewModel
Aspire.Dashboard (1)
Components\Dialogs\InteractionsInputDialog.razor.cs (1)
61
_inputDialogInputViewModels = Content.Inputs.Select(input => new
InputViewModel
(input)).ToList();
Aspire.Dashboard.Components.Tests (8)
Model\InputViewModelTests.cs (8)
26
var viewModel = new
InputViewModel
(input);
47
var viewModel = new
InputViewModel
(input);
68
var viewModel = new
InputViewModel
(input);
85
var viewModel = new
InputViewModel
(input);
102
var viewModel = new
InputViewModel
(input);
117
var viewModel = new
InputViewModel
(initialInput);
143
var viewModel = new
InputViewModel
(initialInput);
176
var viewModel = new
InputViewModel
(input);
27 references to InputViewModel
Aspire.Dashboard (19)
Components\Controls\InteractionInputField.razor.cs (2)
17
public required
InputViewModel
InputViewModel { get; set; }
29
public required
InputViewModel
ViewModel { get; init; }
Components\Dialogs\InteractionsInputDialog.razor.cs (10)
39
private List<
InputViewModel
> _inputDialogInputViewModels = default!;
40
private Dictionary<
InputViewModel
, FluentComponentBase?> _elementRefs = default!;
67
foreach (
var
inputVM in _inputDialogInputViewModels)
117
var
inputViewModel = _inputDialogInputViewModels[i];
133
foreach (
var
inputModel in _inputDialogInputViewModels)
149
if (field.Model is
InputViewModel
inputModel)
165
private static FieldIdentifier GetFieldIdentifier(
InputViewModel
inputModel)
176
private static bool IsMissingRequiredValue(
InputViewModel
inputModel)
201
private async Task ToggleSecretTextVisibilityAsync(
InputViewModel
inputModel)
211
private static Icon GetSecretTextIcon(
InputViewModel
inputModel)
Components_Dialogs_InteractionsInputDialog_razor.g.cs (7)
446
foreach (
var
vm in _inputDialogInputViewModels)
448
var
localItem = vm;
501
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Interaction.
InputViewModel
>(
692
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Interaction.
InputViewModel
>(
987
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Interaction.
InputViewModel
>(
1548
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Interaction.
InputViewModel
>(
1722
), global::Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck<global::Aspire.Dashboard.Model.Interaction.
InputViewModel
>(
Aspire.Dashboard.Components.Tests (8)
Model\InputViewModelTests.cs (8)
26
var
viewModel = new InputViewModel(input);
47
var
viewModel = new InputViewModel(input);
68
var
viewModel = new InputViewModel(input);
85
var
viewModel = new InputViewModel(input);
102
var
viewModel = new InputViewModel(input);
117
var
viewModel = new InputViewModel(initialInput);
143
var
viewModel = new InputViewModel(initialInput);
176
var
viewModel = new InputViewModel(input);