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