예제 #1
0
        public static IImmutableSet <T> Difference <T>(this IImmutableSet <T> iset, IEnumerable <T> other)
        {
            var otherSet = other as IImmutableSet <T> ?? ImmutableSet <T> .Empty.AddAll(other);

            return(iset.Difference(otherSet));
        }