File tree Expand file tree Collapse file tree
Source/NETworkManager/ViewModels/Applications Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ public DNSLookupViewModel()
202202 {
203203 _hostHistoryView = CollectionViewSource . GetDefaultView ( SettingsManager . Current . DNSLookup_HostHistory ) ;
204204 _lookupResultView = CollectionViewSource . GetDefaultView ( LookupResult ) ;
205- _lookupResultView . GroupDescriptions . Add ( new PropertyGroupDescription ( " DNSServer" ) ) ;
205+ _lookupResultView . GroupDescriptions . Add ( new PropertyGroupDescription ( nameof ( DNSLookupRecordInfo . DNSServer ) ) ) ;
206206
207207 LoadSettings ( ) ;
208208
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ public IPScannerViewModel(IDialogCoordinator instance)
334334
335335 // Result view
336336 _ipScanResultView = CollectionViewSource . GetDefaultView ( IPScanResult ) ;
337- _ipScanResultView . SortDescriptions . Add ( new SortDescription ( nameof ( PingInfo . IPAddressInt32 ) , ListSortDirection . Ascending ) ) ;
337+ _ipScanResultView . SortDescriptions . Add ( new SortDescription ( nameof ( IPScannerHostInfo . PingInfo ) + "." + nameof ( PingInfo . IPAddressInt32 ) , ListSortDirection . Ascending ) ) ;
338338
339339 // Load profiles
340340 if ( IPScannerProfileManager . Profiles == null )
@@ -490,9 +490,9 @@ public ICommand CopySelectedStatusCommand
490490 }
491491
492492 private void CopySelectedStatusAction ( )
493- {
493+ {
494494 Clipboard . SetText ( Application . Current . Resources [ "String_IPStatus_" + SelectedIPScanResult . PingInfo . Status . ToString ( ) ] as string ) ;
495- }
495+ }
496496
497497 public ICommand AddProfileCommand
498498 {
@@ -606,7 +606,7 @@ private async void CopyAsProfileAction()
606606
607607 await dialogCoordinator . ShowMetroDialogAsync ( this , customDialog ) ;
608608 }
609-
609+
610610 public ICommand DeleteProfileCommand
611611 {
612612 get { return new RelayCommand ( p => DeleteProfileAction ( ) ) ; }
@@ -636,7 +636,7 @@ private async void DeleteProfileAction()
636636 } ;
637637
638638 await dialogCoordinator . ShowMetroDialogAsync ( this , customDialog ) ;
639- }
639+ }
640640 #endregion
641641
642642 #region Methods
You can’t perform that action at this time.
0 commit comments