void PerformUpdate() { var selectedItem = SelectedItem; Items = CreateItems(); SelectedItem = Items.FirstOrDefault(x => object.Equals(x, selectedItem)); }
protected bool Equals(EditRepositoryItem other) { return(item.Equals(other.item)); }