1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-18 21:35:27 -04:00

Fixed: Do not replace a file unless it contains the same episodes

This commit is contained in:
Mark McDowall
2015-05-05 07:29:38 -07:00
parent c08d8252ff
commit 0c6ca6971d
8 changed files with 183 additions and 0 deletions
@@ -37,5 +37,10 @@ namespace NzbDrone.Common.Extensions
{
return !source.All(predicate);
}
public static List<TResult> SelectList<TSource, TResult>(this IEnumerable<TSource> source, Func<TSource, TResult> predicate)
{
return source.Select(predicate).ToList();
}
}
}