This commit is contained in:
Jamie 2018-04-21 21:27:42 +01:00
commit 703203ed5c
8 changed files with 1091 additions and 23 deletions

View file

@ -14,5 +14,12 @@ namespace Ombi.Helpers
yield return source1;
}
}
public static HashSet<T> ToHashSet<T>(
this IEnumerable<T> source,
IEqualityComparer<T> comparer = null)
{
return new HashSet<T>(source, comparer);
}
}
}