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

◆ DataContractSet()

System.Runtime.Serialization.DataContractSet.DataContractSet ( DataContractSet dataContractSet)
inlinepackage

Definition at line 42 of file DataContractSet.cs.

43 {
44 if (dataContractSet == null)
45 {
46 throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("dataContractSet"));
47 }
48 _referencedTypes = dataContractSet._referencedTypes;
49 _referencedCollectionTypes = dataContractSet._referencedCollectionTypes;
51 {
52 Add(item.Key, item.Value);
53 }
54 if (dataContractSet._processedContracts == null)
55 {
56 return;
57 }
59 {
61 }
62 }
void Add(TKey key, TValue value)
readonly ICollection< Type > _referencedCollectionTypes
readonly ICollection< Type > _referencedTypes
Dictionary< DataContract, object > ProcessedContracts

References System.Runtime.Serialization.DataContractSet._referencedCollectionTypes, System.Runtime.Serialization.DataContractSet._referencedTypes, System.Add, System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.item, System.Runtime.Serialization.DataContractSet.ProcessedContracts, and System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError().