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)
26var viewModel = new InputViewModel(input); 47var viewModel = new InputViewModel(input); 68var viewModel = new InputViewModel(input); 85var viewModel = new InputViewModel(input); 102var viewModel = new InputViewModel(input); 117var viewModel = new InputViewModel(initialInput); 143var viewModel = new InputViewModel(initialInput); 176var viewModel = new InputViewModel(input);
27 references to InputViewModel
Aspire.Dashboard (19)
Components\Controls\InteractionInputField.razor.cs (2)
17public required InputViewModel InputViewModel { get; set; } 29public required InputViewModel ViewModel { get; init; }
Components\Dialogs\InteractionsInputDialog.razor.cs (10)
39private List<InputViewModel> _inputDialogInputViewModels = default!; 40private Dictionary<InputViewModel, FluentComponentBase?> _elementRefs = default!; 67foreach (var inputVM in _inputDialogInputViewModels) 117var inputViewModel = _inputDialogInputViewModels[i]; 133foreach (var inputModel in _inputDialogInputViewModels) 149if (field.Model is InputViewModel inputModel) 165private static FieldIdentifier GetFieldIdentifier(InputViewModel inputModel) 176private static bool IsMissingRequiredValue(InputViewModel inputModel) 201private async Task ToggleSecretTextVisibilityAsync(InputViewModel inputModel) 211private static Icon GetSecretTextIcon(InputViewModel inputModel)
Components_Dialogs_InteractionsInputDialog_razor.g.cs (7)
446foreach (var vm in _inputDialogInputViewModels) 448var 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)
26var viewModel = new InputViewModel(input); 47var viewModel = new InputViewModel(input); 68var viewModel = new InputViewModel(input); 85var viewModel = new InputViewModel(input); 102var viewModel = new InputViewModel(input); 117var viewModel = new InputViewModel(initialInput); 143var viewModel = new InputViewModel(initialInput); 176var viewModel = new InputViewModel(input);