Пример #1
0
 public void RemoveLockScreensIfExistInLog(LockScreenBatchToLog lockScreensFromLogFile)
 {
     if (myLockScreens.Count > 0)
     {
         AddLockScreensFromLogToOldLockScreens(lockScreensFromLogFile);
         myLockScreens = myLockScreens.Except(oldLockScreens).ToList();
         // myLockScreens = myLockScreens.Intersect(lockScreensFromLogFile.myLockScreens).ToList();
     }
 }
Пример #2
0
 private void AddLockScreensFromLogToOldLockScreens(LockScreenBatchToLog lockScreensFromLogFile)
 {
     oldLockScreens.AddRange(lockScreensFromLogFile.myLockScreens);
 }