protected override void OnCommitAdd(ItemStore store, IEnumerable <Property> items, int index = -1) { var names = items.Select(x => x.Name); store.RemoveWhen(item => names.Any(name => name.EqualsIgnoreCase(item.Name))); base.OnCommitAdd(store, items, index); }
protected override void OnCommitAdd(ItemStore store, IEnumerable <Property> items, int index = -1) { store.RemoveWhen(x => items.Any(y => y.Name.EqualsIgnoreCase(x.Name))); base.OnCommitAdd(store, items, index); }