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

◆ AddEnumerableRange()

void System.Data.Common.DataTableMappingCollection.AddEnumerableRange ( IEnumerable values,
bool doClone )
inlineprivate

Definition at line 130 of file DataTableMappingCollection.cs.

131 {
132 if (values == null)
133 {
134 throw ADP.ArgumentNull("values");
135 }
136 foreach (object value2 in values)
137 {
139 }
140 if (doClone)
141 {
142 foreach (ICloneable value3 in values)
143 {
144 AddWithoutEvents(value3.Clone() as DataTableMapping);
145 }
146 return;
147 }
148 foreach (DataTableMapping value4 in values)
149 {
151 }
152 }

References System.Data.Common.DataTableMappingCollection.AddWithoutEvents(), System.Data.Common.ADP.ArgumentNull(), System.Data.Common.DataTableMappingCollection.ValidateType(), and System.values.

Referenced by System.Data.Common.DataTableMappingCollection.AddRange(), and System.Data.Common.DataTableMappingCollection.AddRange().