Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
TypedTableBase.cs
Go to the documentation of this file.
4using System.Linq;
6
7namespace System.Data;
8
10public abstract class TypedTableBase<T> : DataTable, IEnumerable<T>, IEnumerable where T : DataRow
11{
12 protected TypedTableBase()
13 {
14 }
15
16 [UnconditionalSuppressMessage("ReflectionAnalysis", "IL2112:ReflectionToRequiresUnreferencedCode", Justification = "DataTable.CreateInstance's use of GetType uses only the parameterless constructor, not this serialization related constructor.")]
17 [RequiresUnreferencedCode("Members from serialized types may be trimmed if not referenced directly.")]
19 : base(info, context)
20 {
21 }
22
24 {
25 return base.Rows.Cast<T>().GetEnumerator();
26 }
27
32
38}
IEnumerator< T > GetEnumerator()
EnumerableRowCollection< TResult > Cast< TResult >()
TypedTableBase(SerializationInfo info, StreamingContext context)
new IEnumerator< T > GetEnumerator()