22using Lextm . SharpSnmpLib . Messaging ;
33using NETworkManager . Views ;
44using System . Collections . Generic ;
5+ using System . Collections . ObjectModel ;
56using System . ComponentModel ;
67using System . Runtime . CompilerServices ;
78using System . Xml . Serialization ;
@@ -333,8 +334,8 @@ public int IPScanner_Threads
333334 }
334335 }
335336
336- private List < string > _ipScanner_IPRangeHistory = new List < string > ( ) ;
337- public List < string > IPScanner_IPRangeHistory
337+ private ObservableCollection < string > _ipScanner_IPRangeHistory = new ObservableCollection < string > ( ) ;
338+ public ObservableCollection < string > IPScanner_IPRangeHistory
338339 {
339340 get { return _ipScanner_IPRangeHistory ; }
340341 set
@@ -497,8 +498,8 @@ public bool Ping_DontFragment
497498 }
498499 }
499500
500- private List < string > _ping_HostHistory = new List < string > ( ) ;
501- public List < string > Ping_HostHistory
501+ private ObservableCollection < string > _ping_HostHistory = new ObservableCollection < string > ( ) ;
502+ public ObservableCollection < string > Ping_HostHistory
502503 {
503504 get { return _ping_HostHistory ; }
504505 set
@@ -597,16 +598,16 @@ public bool Ping_ExpandStatistics
597598 #endregion
598599
599600 #region Traceroute
600- private List < string > _traceroute_HostnameHistory = new List < string > ( ) ;
601- public List < string > Traceroute_HostnameHistory
601+ private ObservableCollection < string > _traceroute_HostHistory ;
602+ public ObservableCollection < string > Traceroute_HostHistory
602603 {
603- get { return _traceroute_HostnameHistory ; }
604+ get { return _traceroute_HostHistory ; }
604605 set
605606 {
606- if ( value == _traceroute_HostnameHistory )
607+ if ( value == _traceroute_HostHistory )
607608 return ;
608609
609- _traceroute_HostnameHistory = value ;
610+ _traceroute_HostHistory = value ;
610611 SettingsChanged = true ;
611612 }
612613 }
@@ -700,8 +701,8 @@ public bool Traceroute_ExpandStatistics
700701 #endregion
701702
702703 #region Lookup
703- private List < string > _lookup_OUI_MACAddressOrVendorHistory = new List < string > ( ) ;
704- public List < string > Lookup_OUI_MACAddressOrVendorHistory
704+ private ObservableCollection < string > _lookup_OUI_MACAddressOrVendorHistory = new ObservableCollection < string > ( ) ;
705+ public ObservableCollection < string > Lookup_OUI_MACAddressOrVendorHistory
705706 {
706707 get { return _lookup_OUI_MACAddressOrVendorHistory ; }
707708 set
@@ -714,8 +715,8 @@ public List<string> Lookup_OUI_MACAddressOrVendorHistory
714715 }
715716 }
716717
717- private List < string > _lookup_Port_PortsHistory = new List < string > ( ) ;
718- public List < string > Lookup_Port_PortsHistory
718+ private ObservableCollection < string > _lookup_Port_PortsHistory = new ObservableCollection < string > ( ) ;
719+ public ObservableCollection < string > Lookup_Port_PortsHistory
719720 {
720721 get { return _lookup_Port_PortsHistory ; }
721722 set
@@ -730,30 +731,30 @@ public List<string> Lookup_Port_PortsHistory
730731 #endregion
731732
732733 #region PortScanner
733- private List < string > _portScanner_HostnameHistory = new List < string > ( ) ;
734- public List < string > PortScanner_HostnameHistory
734+ private ObservableCollection < string > _portScanner_HostHistory = new ObservableCollection < string > ( ) ;
735+ public ObservableCollection < string > PortScanner_HostHistory
735736 {
736- get { return _portScanner_HostnameHistory ; }
737+ get { return _portScanner_HostHistory ; }
737738 set
738739 {
739- if ( value == _portScanner_HostnameHistory )
740+ if ( value == _portScanner_HostHistory )
740741 return ;
741742
742- _portScanner_HostnameHistory = value ;
743+ _portScanner_HostHistory = value ;
743744 SettingsChanged = true ;
744745 }
745746 }
746747
747- private List < string > _portScanner_PortsHistory = new List < string > ( ) ;
748- public List < string > PortScanner_PortsHistory
748+ private ObservableCollection < string > _portScanner_PortHistory = new ObservableCollection < string > ( ) ;
749+ public ObservableCollection < string > PortScanner_PortHistory
749750 {
750- get { return _portScanner_PortsHistory ; }
751+ get { return _portScanner_PortHistory ; }
751752 set
752753 {
753- if ( value == _portScanner_PortsHistory )
754+ if ( value == _portScanner_PortHistory )
754755 return ;
755756
756- _portScanner_PortsHistory = value ;
757+ _portScanner_PortHistory = value ;
757758 SettingsChanged = true ;
758759 }
759760 }
@@ -874,8 +875,8 @@ public bool WakeOnLAN_ExpandClientView
874875 #endregion
875876
876877 #region DNS Lookup
877- private List < string > _dnsLookup_HostHistory = new List < string > ( ) ;
878- public List < string > DNSLookup_HostHistory
878+ private ObservableCollection < string > _dnsLookup_HostHistory = new ObservableCollection < string > ( ) ;
879+ public ObservableCollection < string > DNSLookup_HostHistory
879880 {
880881 get { return _dnsLookup_HostHistory ; }
881882 set
@@ -1087,8 +1088,8 @@ public bool DNSLookup_ExpandStatistics
10871088
10881089 #region Subnet Calculator
10891090 #region IPv4 Calculator
1090- private List < string > _subnetCalculator_IPv4Calculator_SubnetHistory = new List < string > ( ) ;
1091- public List < string > SubnetCalculator_IPv4Calculator_SubnetHistory
1091+ private ObservableCollection < string > _subnetCalculator_IPv4Calculator_SubnetHistory = new ObservableCollection < string > ( ) ;
1092+ public ObservableCollection < string > SubnetCalculator_IPv4Calculator_SubnetHistory
10921093 {
10931094 get { return _subnetCalculator_IPv4Calculator_SubnetHistory ; }
10941095 set
@@ -1388,8 +1389,8 @@ public bool RemoteDesktop_ExpandSessionView
13881389 #endregion
13891390
13901391 #region HTTP Headers
1391- private List < string > _httpHeaders_WebsiteUriHistory = new List < string > ( ) ;
1392- public List < string > HTTPHeaders_WebsiteUriHistory
1392+ private ObservableCollection < string > _httpHeaders_WebsiteUriHistory = new ObservableCollection < string > ( ) ;
1393+ public ObservableCollection < string > HTTPHeaders_WebsiteUriHistory
13931394 {
13941395 get { return _httpHeaders_WebsiteUriHistory ; }
13951396 set
@@ -1489,22 +1490,22 @@ public bool SNMP_ResolveHostnamePreferIPv4
14891490 }
14901491 }
14911492
1492- private List < string > _snmp_v1v2c_HostnameHistory = new List < string > ( ) ;
1493- public List < string > SNMP_v1v2c_HostnameHistory
1493+ private ObservableCollection < string > _snmp_v1v2c_HostHistory = new ObservableCollection < string > ( ) ;
1494+ public ObservableCollection < string > SNMP_v1v2c_HostHistory
14941495 {
1495- get { return _snmp_v1v2c_HostnameHistory ; }
1496+ get { return _snmp_v1v2c_HostHistory ; }
14961497 set
14971498 {
1498- if ( value == _snmp_v1v2c_HostnameHistory )
1499+ if ( value == _snmp_v1v2c_HostHistory )
14991500 return ;
15001501
1501- _snmp_v1v2c_HostnameHistory = value ;
1502+ _snmp_v1v2c_HostHistory = value ;
15021503 SettingsChanged = true ;
15031504 }
15041505 }
15051506
1506- private List < string > _snmp_v1v2c_OIDHistory = new List < string > ( ) ;
1507- public List < string > SNMP_v1v2c_OIDHistory
1507+ private ObservableCollection < string > _snmp_v1v2c_OIDHistory = new ObservableCollection < string > ( ) ;
1508+ public ObservableCollection < string > SNMP_v1v2c_OIDHistory
15081509 {
15091510 get { return _snmp_v1v2c_OIDHistory ; }
15101511 set
@@ -1559,22 +1560,22 @@ public bool SNMP_v1v2c_ExpandStatistics
15591560 }
15601561 }
15611562
1562- private List < string > _snmp_v3_HostnameHistory = new List < string > ( ) ;
1563- public List < string > SNMP_v3_HostnameHistory
1563+ private ObservableCollection < string > _snmp_v3_HostHistory = new ObservableCollection < string > ( ) ;
1564+ public ObservableCollection < string > SNMP_v3_HostHistory
15641565 {
1565- get { return _snmp_v3_HostnameHistory ; }
1566+ get { return _snmp_v3_HostHistory ; }
15661567 set
15671568 {
1568- if ( value == _snmp_v3_HostnameHistory )
1569+ if ( value == _snmp_v3_HostHistory )
15691570 return ;
15701571
1571- _snmp_v3_HostnameHistory = value ;
1572+ _snmp_v3_HostHistory = value ;
15721573 SettingsChanged = true ;
15731574 }
15741575 }
15751576
1576- private List < string > _snmp_v3_OIDHistory = new List < string > ( ) ;
1577- public List < string > SNMP_v3_OIDHistory
1577+ private ObservableCollection < string > _snmp_v3_OIDHistory = new ObservableCollection < string > ( ) ;
1578+ public ObservableCollection < string > SNMP_v3_OIDHistory
15781579 {
15791580 get { return _snmp_v3_OIDHistory ; }
15801581 set
0 commit comments