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

◆ NotifyCollectionChangedEventArgs() [11/11]

System.Collections.Specialized.NotifyCollectionChangedEventArgs.NotifyCollectionChangedEventArgs ( NotifyCollectionChangedAction action,
IList? changedItems,
int index,
int oldIndex )
inline

Definition at line 171 of file NotifyCollectionChangedEventArgs.cs.

172 {
174 {
176 }
177 if (index < 0)
178 {
180 }
181 _action = action;
182 _newItems = (_oldItems = ((changedItems != null) ? new ReadOnlyList(changedItems) : null));
184 _oldStartingIndex = oldIndex;
185 }
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.