示例#1
0
 internal void NotifyManyEvents(ObservableCollectionItemEventType eventType, IEnumerable <TItem> items, IEnumerable <TLocation> locations)
 {
     Notify(items.ZipWith(locations, (item, location) => new ObservableCollectionItem <TItem, TLocation>(eventType, item, location)));
 }
 public ObservableCollectionItem(ObservableCollectionItemEventType eventType, TItem item, TLocation location)
 {
     Item      = item;
     Location  = location;
     EventType = eventType;
 }
示例#3
0
 internal void NotifySingleEvent(ObservableCollectionItemEventType eventType, TItem item, TLocation location)
 {
     Notify(new[] { new ObservableCollectionItem <TItem, TLocation>(eventType, item, location) });
 }