Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 2.58 KB

EntityQueryBuilder.EitherBuilder.AsMap_TKey_(IEqualityComparer_TKey_).md

File metadata and controls

28 lines (18 loc) · 2.58 KB

EntityQueryBuilder.EitherBuilder.AsMap(IEqualityComparer) Method

Returns an EntityMap<TKey> with the specified rules.

public DefaultEcs.EntityMap<TKey> AsMap<TKey>(System.Collections.Generic.IEqualityComparer<TKey> comparer);

Type parameters

TKey

The component type to use as key.

Parameters

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.EntityMap<TKey>
The EntityMap<TKey>.