@@ -160,10 +160,6 @@ public INavigateSource SelectedItem
160
160
_selectedItem = value ;
161
161
OnPropertyChanged ( ) ;
162
162
OnPropertyChanged ( nameof ( QuickFixes ) ) ;
163
- OnPropertyChanged ( nameof ( SelectedDescription ) ) ;
164
- OnPropertyChanged ( nameof ( SelectedMeta ) ) ;
165
- OnPropertyChanged ( nameof ( SelectedSeverity ) ) ;
166
-
167
163
SelectedInspection = null ;
168
164
CanQuickFix = false ;
169
165
CanExecuteQuickFixInProcedure = false ;
@@ -173,8 +169,7 @@ public INavigateSource SelectedItem
173
169
if ( _selectedItem is IInspectionResult inspectionResult )
174
170
{
175
171
SelectedInspection = inspectionResult . Inspection ;
176
- SelectedSelection = inspectionResult . QualifiedSelection ;
177
-
172
+
178
173
CanQuickFix = _quickFixProvider . HasQuickFixes ( inspectionResult ) ;
179
174
_defaultFix = _quickFixProvider . QuickFixes ( inspectionResult ) . FirstOrDefault ( ) ;
180
175
CanExecuteQuickFixInProcedure = _defaultFix != null && _defaultFix . CanFixInProcedure ;
@@ -195,18 +190,9 @@ public IInspection SelectedInspection
195
190
{
196
191
_selectedInspection = value ;
197
192
OnPropertyChanged ( ) ;
198
- OnPropertyChanged ( nameof ( SelectedSelection ) ) ;
199
193
}
200
194
}
201
195
202
- public string SelectedDescription => SelectedInspection ? . Description ?? string . Empty ;
203
-
204
- public string SelectedMeta => SelectedInspection ? . Meta ?? string . Empty ;
205
-
206
- public CodeInspectionSeverity SelectedSeverity => SelectedInspection ? . Severity ?? CodeInspectionSeverity . DoNotShow ;
207
-
208
- public QualifiedSelection SelectedSelection { get ; private set ; }
209
-
210
196
public IEnumerable < DisplayQuickFix > QuickFixes
211
197
{
212
198
get
0 commit comments