Initial metadata overhaul

This commit is contained in:
Mark McDowall
2014-04-30 16:39:54 -07:00
parent 6d8b38366f
commit 1f40bef249
12 changed files with 648 additions and 827 deletions
@@ -12,5 +12,15 @@ namespace NzbDrone.Common
return source.Where(element => knownKeys.Add(keySelector(element)));
}
public static void AddIfNotNull<TSource>(this List<TSource> source, TSource item)
{
if (item == null)
{
return;
}
source.Add(item);
}
}
}