M_Cyjb_Collections_ObjectModel_SetBase_1_IsProperSupersetOf - CYJB/Cyjb GitHub Wiki
确定当前集合是否为指定集合的真超集合。
Namespace: Cyjb.Collections.ObjectModel
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public virtual bool IsProperSupersetOf(
IEnumerable<T> other
)
- other
- Type: System.Collections.Generic.IEnumerable(T)
要与当前集合进行比较的集合。
Type: Boolean
如果当前集合是 other 的真超集合,则为 true
; 否则为 false
。
ISet(T).IsProperSupersetOf(IEnumerable(T))
IReadOnlySet(T).IsProperSupersetOf(IEnumerable(T))
异常 | 条件 |
---|---|
ArgumentNullException |
other 为 null 。 |