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

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

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

Definition at line 32 of file ImmutableSortedDictionary.cs.

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

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