1 write to SmartRenameViewModel
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (1)
63SmartRenameViewModel = new SmartRenameViewModel(globalOptionService, threadingContext, listenerProvider, smartRenameSession.Value, this);
16 references to SmartRenameViewModel
Microsoft.CodeAnalysis.EditorFeatures.Wpf (16)
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (8)
53RenameUserInput = _viewModel.SmartRenameViewModel is null ? new RenameUserInputTextBox(_viewModel) : new SmartRenameUserInputComboBox(_viewModel); 73if (viewModel.SmartRenameViewModel is not null) 75var smartRenameControl = new SmartRenameStatusControl(viewModel.SmartRenameViewModel); 111=> _viewModel.SmartRenameViewModel is not null 112? _viewModel.SmartRenameViewModel.SubmitTextOverride 205if (_viewModel.SmartRenameViewModel is not null) 207_viewModel.SmartRenameViewModel.ToggleOrTriggerSuggestions(); 263var smartRenameViewModel = _viewModel.SmartRenameViewModel;
InlineRename\UI\Adornment\RenameFlyoutViewModel.cs (4)
231SmartRenameViewModel?.Commit(IdentifierText); 238SmartRenameViewModel?.Cancel(); 328if (SmartRenameViewModel is not null) 330SmartRenameViewModel.Dispose();
InlineRename\UI\SmartRename\SmartRenameUserInputComboBox.xaml.cs (4)
30Requires.NotNull(viewModel.SmartRenameViewModel!, nameof(viewModel.SmartRenameViewModel)); 33DataContext = viewModel.SmartRenameViewModel; 35_smartRenameViewModel = viewModel.SmartRenameViewModel;