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

◆ NotifyCollectionChangedEventArgs() [9/11]

System.Collections.Specialized.NotifyCollectionChangedEventArgs.NotifyCollectionChangedEventArgs ( NotifyCollectionChangedAction action,
IList newItems,
IList oldItems,
int startingIndex )
inline

Definition at line 135 of file NotifyCollectionChangedEventArgs.cs.

136 {
138 {
140 }
141 if (newItems == null)
142 {
143 throw new ArgumentNullException("newItems");
144 }
145 if (oldItems == null)
146 {
147 throw new ArgumentNullException("oldItems");
148 }
149 _action = action;
150 _newItems = new ReadOnlyList(newItems);
151 _oldItems = new ReadOnlyList(oldItems);
152 _newStartingIndex = (_oldStartingIndex = startingIndex);
153 }
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
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(), and System.SR.WrongActionForCtor.