You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
681 B
31 lines
681 B
5 years ago
|
#if NET20 || NET30 || NET35 || !NET_4_6
|
||
|
|
||
|
namespace System.Collections.Generic
|
||
|
{
|
||
|
public interface ISet<T> : ICollection<T>
|
||
|
{
|
||
|
new bool Add(T item);
|
||
|
|
||
|
void ExceptWith(IEnumerable<T> other);
|
||
|
|
||
|
void IntersectWith(IEnumerable<T> other);
|
||
|
|
||
|
bool IsProperSubsetOf(IEnumerable<T> other);
|
||
|
|
||
|
bool IsProperSupersetOf(IEnumerable<T> other);
|
||
|
|
||
|
bool IsSubsetOf(IEnumerable<T> other);
|
||
|
|
||
|
bool IsSupersetOf(IEnumerable<T> other);
|
||
|
|
||
|
bool Overlaps(IEnumerable<T> other);
|
||
|
|
||
|
bool SetEquals(IEnumerable<T> other);
|
||
|
|
||
|
void SymmetricExceptWith(IEnumerable<T> other);
|
||
|
|
||
|
void UnionWith(IEnumerable<T> other);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|