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

◆ NotifyCollectionChangedEventArgs() [10/11]

System.Collections.Specialized.NotifyCollectionChangedEventArgs.NotifyCollectionChangedEventArgs ( NotifyCollectionChangedAction action,
object? changedItem,
int index,
int oldIndex )
inline

Definition at line 155 of file NotifyCollectionChangedEventArgs.cs.

156 {
158 {
160 }
161 if (index < 0)
162 {
164 }
165 _action = action;
166 _newItems = (_oldItems = new SingleItemReadOnlyList(changedItem));
168 _oldStartingIndex = oldIndex;
169 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string IndexCannotBeNegative
Definition SR.cs:26
static string WrongActionForCtor
Definition SR.cs:32
Definition SR.cs:7

References System.Collections.Specialized.NotifyCollectionChangedEventArgs._action, System.Collections.Specialized.NotifyCollectionChangedEventArgs._newItems, System.Collections.Specialized.NotifyCollectionChangedEventArgs._newStartingIndex, System.Collections.Specialized.NotifyCollectionChangedEventArgs._oldItems, System.Collections.Specialized.NotifyCollectionChangedEventArgs._oldStartingIndex, System.action, System.SR.Format(), System.index, System.SR.IndexCannotBeNegative, and System.SR.WrongActionForCtor.