Table of Contents

Interface IHasSetOperations<TSelf>

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public interface IHasSetOperations<TSelf>

Type Parameters

TSelf
Extension Methods

Methods

Except(TSelf)

TSelf Except(TSelf array)

Parameters

array TSelf

Returns

TSelf

GetEmpty()

public static abstract TSelf GetEmpty()

Returns

TSelf

Intersect(TSelf)

TSelf Intersect(TSelf array)

Parameters

array TSelf

Returns

TSelf

IsEmpty()

bool IsEmpty()

Returns

bool

IsSubsetOf(TSelf)

bool IsSubsetOf(TSelf array)

Parameters

array TSelf

Returns

bool

IsSupersetOf(TSelf)

bool IsSupersetOf(TSelf array)

Parameters

array TSelf

Returns

bool

Overlaps(TSelf)

bool Overlaps(TSelf array)

Parameters

array TSelf

Returns

bool

OverlapsWithEach(IEnumerable<TSelf>)

bool OverlapsWithEach(IEnumerable<TSelf> arrays)

Parameters

arrays IEnumerable<TSelf>

Returns

bool

SetEquals(TSelf)

bool SetEquals(TSelf array)

Parameters

array TSelf

Returns

bool

SupersetOfAtLeastOne(IEnumerable<TSelf>)

bool SupersetOfAtLeastOne(IEnumerable<TSelf> arrays)

Parameters

arrays IEnumerable<TSelf>

Returns

bool

SymmetricExcept(TSelf)

TSelf SymmetricExcept(TSelf array)

Parameters

array TSelf

Returns

TSelf

Union(TSelf)

TSelf Union(TSelf array)

Parameters

array TSelf

Returns

TSelf