Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 3.1 KB

EntityQueryBuilder.EitherBuilder.AsMultiMap_TKey_(int,IEqualityComparer_TKey_).md

File metadata and controls

34 lines (21 loc) · 3.1 KB

EntityQueryBuilder.EitherBuilder.AsMultiMap(int, IEqualityComparer) Method

Returns an EntityMultiMap<TKey> with the specified rules.

public DefaultEcs.EntityMultiMap<TKey> AsMultiMap<TKey>(int capacity, System.Collections.Generic.IEqualityComparer<TKey> comparer);

Type parameters

TKey

The component type to use as key.

Parameters

capacity System.Int32

The initial number of element the EntityMultiMap<TKey> can contain.

comparer System.Collections.Generic.IEqualityComparer<TKey>

The System.Collections.Generic.IEqualityComparer<> implementation to use when comparing keys, or null to use the default System.Collections.Generic.EqualityComparer<>.Default for the type of the key.

Returns

DefaultEcs.EntityMultiMap<TKey>
The EntityMultiMap<TKey>.