Пример #1
0
 internal static void AddComputerReference(List <Computer> __instance, Computer item)
 {
     if (object.ReferenceEquals(__instance, OS.currentInstance?.netMap?.nodes))
     {
         ComputerLookup.PopulateLookups(item);
     }
 }
Пример #2
0
 internal static void AddComputerReferenceRange(List <Computer> __instance, IEnumerable <Computer> collection)
 {
     if (object.ReferenceEquals(__instance, OS.currentInstance?.netMap?.nodes))
     {
         foreach (var comp in collection)
         {
             ComputerLookup.PopulateLookups(comp);
         }
     }
 }