// Token: 0x060007B1 RID: 1969 RVA: 0x00037204 File Offset: 0x00035404 public Dictionary <int, string> GetNetworkDeviceNamesForPage(CorePageType pageType, List <int> limitationIDs, bool includeBasic) { switch (pageType) { case 1: return(AlertDAL.GetNodeData(limitationIDs, includeBasic)); case 2: { INetworkDeviceDal networkDeviceDal = this.syslogDal; return(((networkDeviceDal != null) ? networkDeviceDal.GetNodeData(limitationIDs) : null) ?? new Dictionary <int, string>(0)); } case 3: { INetworkDeviceDal networkDeviceDal2 = this.trapDal; return(((networkDeviceDal2 != null) ? networkDeviceDal2.GetNodeData(limitationIDs) : null) ?? new Dictionary <int, string>(0)); } case 4: return(EventsDAL.GetNodeData(limitationIDs)); default: throw new NotImplementedException("Unsupported page type"); } }
public List <SolarWinds.Orion.Core.Common.Models.Node> GetNetworkDevices( CorePageType pageType, List <int> limitationIDs) { switch (pageType - 1) { case 0: return(AlertDAL.GetAlertNetObjects(limitationIDs)); case 1: return(this.syslogDal?.GetNetObjects(limitationIDs) ?? new List <SolarWinds.Orion.Core.Common.Models.Node>(0)); case 2: return(this.trapDal?.GetNetObjects(limitationIDs) ?? new List <SolarWinds.Orion.Core.Common.Models.Node>(0)); default: throw new NotImplementedException("Unsupported page type"); } }
// Token: 0x060007B0 RID: 1968 RVA: 0x00037194 File Offset: 0x00035394 public List <Node> GetNetworkDevices(CorePageType pageType, List <int> limitationIDs) { switch (pageType) { case 1: return(AlertDAL.GetAlertNetObjects(limitationIDs)); case 2: { INetworkDeviceDal networkDeviceDal = this.syslogDal; return(((networkDeviceDal != null) ? networkDeviceDal.GetNetObjects(limitationIDs) : null) ?? new List <Node>(0)); } case 3: { INetworkDeviceDal networkDeviceDal2 = this.trapDal; return(((networkDeviceDal2 != null) ? networkDeviceDal2.GetNetObjects(limitationIDs) : null) ?? new List <Node>(0)); } default: throw new NotImplementedException("Unsupported page type"); } }
public Dictionary <int, string> GetNetworkDeviceNamesForPage( CorePageType pageType, List <int> limitationIDs) { return(this.GetNetworkDeviceNamesForPage(pageType, limitationIDs, true)); }