uTorrentNotifier.WebUIAPI.FindNew C# (CSharp) Method

FindNew() private method

private FindNew ( ) : List
return List
        private List<TorrentFile> FindNew()
        {
            List<TorrentFile> newTorrents = new List<TorrentFile>();

            if (this.Torrents.Last != null && this.Torrents.Current != null)
            {
                foreach (TorrentFile currentTorrent in this.Torrents.Current)
                {
                    TorrentFile result = this.Torrents.Last.Find(item => item.Hash == currentTorrent.Hash);

                    if (result == null)
                        newTorrents.Add(currentTorrent);
                }
            }

            return newTorrents;
        }