|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| void | Add (DataTable table) |
| void | AddRange (DataTable?[]? tables) |
| DataTable | Add (string? name) |
| DataTable | Add (string? name, string? tableNamespace) |
| DataTable | Add () |
| bool | CanRemove (DataTable? table) |
| void | Clear () |
| bool | Contains (string? name) |
| bool | Contains (string name, string tableNamespace) |
| void | CopyTo (DataTable[] array, int index) |
| int | IndexOf (DataTable? table) |
| int | IndexOf (string? tableName) |
| int | IndexOf (string tableName, string tableNamespace) |
| void | Remove (DataTable table) |
| void | RemoveAt (int index) |
| void | Remove (string name) |
| void | Remove (string name, string tableNamespace) |
| virtual void | CopyTo (Array ar, int index) |
| virtual IEnumerator | GetEnumerator () |
Package Functions | |
| DataTableCollection (DataSet dataSet) | |
| DataTable | GetTable (string name, string ns) |
| DataTable | GetTableSmart (string name, string ns) |
| string | AssignName () |
| bool | CanRemove ([NotNullWhen(true)] DataTable table, bool fThrowException) |
| bool | Contains (string name, string tableNamespace, bool checkProperty, bool caseSensitive) |
| bool | Contains (string name, bool caseSensitive) |
| int | IndexOf (string tableName, string tableNamespace, bool chekforNull) |
| void | ReplaceFromInference (List< DataTable > tableList) |
| int | InternalIndexOf (string tableName) |
| int | InternalIndexOf (string tableName, string tableNamespace) |
| void | FinishInitCollection () |
| void | RegisterName (string name, string tbNamespace) |
| void | UnregisterName (string name) |
| int | NamesEqual (string s1, string s2, bool fCaseSensitive, CultureInfo locale) |
Static Package Attributes | |
| static readonly CollectionChangeEventArgs | s_refreshEventArgs = new CollectionChangeEventArgs(CollectionChangeAction.Refresh, null) |
Properties | |
| override ArrayList | List [get] |
| int | ObjectID [get] |
| DataTable | this[int index] [get] |
| DataTable? | this[string? name] [get] |
| DataTable? | this[string? name, string tableNamespace] [get] |
| CollectionChangeEventHandler? | CollectionChanged |
| CollectionChangeEventHandler? | CollectionChanging |
| virtual int | Count [get] |
| bool | IsReadOnly [get] |
| bool | IsSynchronized [get] |
| object | SyncRoot [get] |
Private Member Functions | |
| void | ArrayAdd (DataTable table) |
| void | BaseAdd ([NotNull] DataTable table) |
| void | BaseGroupSwitch (DataTable[] oldArray, int oldLength, DataTable[] newArray, int newLength) |
| void | BaseRemove (DataTable table) |
| string | MakeName (int index) |
| void | OnCollectionChanged (CollectionChangeEventArgs ccevent) |
| void | OnCollectionChanging (CollectionChangeEventArgs ccevent) |
Private Attributes | |
| readonly DataSet | _dataSet |
| readonly ArrayList | _list = new ArrayList() |
| int | _defaultNameIndex = 1 |
| DataTable[] | _delayedAddRangeTables |
| CollectionChangeEventHandler | _onCollectionChangedDelegate |
| CollectionChangeEventHandler | _onCollectionChangingDelegate |
| readonly int | _objectID = Interlocked.Increment(ref s_objectTypeCount) |
Static Private Attributes | |
| static int | s_objectTypeCount |
Definition at line 13 of file DataTableCollection.cs.