// ========================================================================== // Squidex Headless CMS // ========================================================================== // Copyright (c) Squidex UG (haftungsbeschraenkt) // All rights reserved. Licensed under the MIT license. // ========================================================================== using System.Collections.Generic; namespace Squidex.Infrastructure { public static class HashSet { public static HashSet Of(params T[] items) { return new HashSet(items); } public static HashSet Of(T item1) { return new HashSet { item1 }; } public static HashSet Of(T item1, T item2) { return new HashSet { item1, item2 }; } } }