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

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

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

Definition at line 31 of file ImmutableDictionary.cs.

31 : notnull
32 {
33 return ImmutableDictionary<TKey, TValue>.Empty.WithComparers(keyComparer).AddRange(items);
34 }
void AddRange(IEnumerable< KeyValuePair< TKey, TValue > > collection)

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