Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ CreateRange< TKey, TValue >() [3/3]

static ImmutableDictionary< TKey, TValue > System.Collections.Immutable.ImmutableDictionary< TKey, TValue >.CreateRange< TKey, TValue > ( IEqualityComparer< TKey >? keyComparer,
IEqualityComparer< TValue >? valueComparer,
IEnumerable< KeyValuePair< TKey, TValue > > items )
inlinestatic
Type Constraints
TKey :notnull 

Definition at line 36 of file ImmutableDictionary.cs.

36 : notnull
37 {
38 return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer, valueComparer).AddRange(items);
39 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)

References System.Collections.Generic.Dictionary< TKey, TValue >.AddRange().