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

◆ Hashtable() [15/17]

System.Collections.Hashtable.Hashtable ( IDictionary d,
float loadFactor,
IHashCodeProvider? hcp,
IComparer? comparer )
inline

Definition at line 636 of file Hashtable.cs.

637 : this(d?.Count ?? 0, loadFactor, hcp, comparer)
638 {
639 if (d == null)
640 {
641 throw new ArgumentNullException("d", SR.ArgumentNull_Dictionary);
642 }
643 IDictionaryEnumerator enumerator = d.GetEnumerator();
644 while (enumerator.MoveNext())
645 {
646 Add(enumerator.Key, enumerator.Value);
647 }
648 }
IHashCodeProvider? hcp
Definition Hashtable.cs:417

References System.Add, System.SR.ArgumentNull_Dictionary, and System.Runtime.Serialization.Dictionary.