コード例 #1
0
ファイル: ActiveEnumerable.cs プロジェクト: Epiforge/Gear
 void GenericCollectionChangedHandler(object sender, INotifyGenericCollectionChangedEventArgs <TElement> e)
 {
     if (!isCollectionNotifier)
     {
         CollectionChanged?.Invoke(this, (NotifyGenericCollectionChangedEventArgs <TElement>)e);
     }
     GenericCollectionChanged?.Invoke(this, e);
 }
コード例 #2
0
 void ActiveEnumerableGenericCollectionChanged(object sender, INotifyGenericCollectionChangedEventArgs <TElement> e) => GenericCollectionChanged?.Invoke(this, e);