1
- using System ;
1
+ using PropertyChanged ;
2
+ using System ;
2
3
using System . Collections ;
3
4
using System . Collections . Generic ;
4
5
using System . Collections . Specialized ;
@@ -212,6 +213,7 @@ private void Insert(TKey key, TValue value, bool add)
212
213
}
213
214
}
214
215
216
+ [ SuppressPropertyChangedWarnings ]
215
217
private void OnPropertyChanged ( )
216
218
{
217
219
OnPropertyChanged ( CountString ) ;
@@ -220,29 +222,34 @@ private void OnPropertyChanged()
220
222
OnPropertyChanged ( ValuesName ) ;
221
223
}
222
224
225
+ [ SuppressPropertyChangedWarnings ]
223
226
protected virtual void OnPropertyChanged ( string propertyName )
224
227
{
225
228
PropertyChanged ? . Invoke ( this , new PropertyChangedEventArgs ( propertyName ) ) ;
226
229
}
227
230
231
+ [ SuppressPropertyChangedWarnings ]
228
232
private void OnCollectionChanged ( )
229
233
{
230
234
OnPropertyChanged ( ) ;
231
235
CollectionChanged ? . Invoke ( this , new NotifyCollectionChangedEventArgs ( NotifyCollectionChangedAction . Reset ) ) ;
232
236
}
233
237
238
+ [ SuppressPropertyChangedWarnings ]
234
239
private void OnCollectionChanged ( NotifyCollectionChangedAction action , KeyValuePair < TKey , TValue > changedItem )
235
240
{
236
241
OnPropertyChanged ( ) ;
237
242
CollectionChanged ? . Invoke ( this , new NotifyCollectionChangedEventArgs ( action , changedItem ) ) ;
238
243
}
239
244
245
+ [ SuppressPropertyChangedWarnings ]
240
246
private void OnCollectionChanged ( NotifyCollectionChangedAction action , KeyValuePair < TKey , TValue > newItem , KeyValuePair < TKey , TValue > oldItem )
241
247
{
242
248
OnPropertyChanged ( ) ;
243
249
CollectionChanged ? . Invoke ( this , new NotifyCollectionChangedEventArgs ( action , newItem , oldItem ) ) ;
244
250
}
245
251
252
+ [ SuppressPropertyChangedWarnings ]
246
253
private void OnCollectionChanged ( NotifyCollectionChangedAction action , IList newItems )
247
254
{
248
255
OnPropertyChanged ( ) ;
0 commit comments