// Removes the factor with the given index. // Adjusts the product accordingly. public void Remove(int index) { factors.Remove(index); UpdateProduct(); }
public void TestRemoveNotExisting() { IndexedList<string, SiteLink> list = new IndexedList<string, SiteLink>(siteLink => siteLink.SiteId) { new SiteLink("enwiki", "Foo") }; Assert.False(list.Remove("xxwiki")); }
// Removes the factor with the given index. // Adjusts the time rate accordingly. public void Remove(int index) { factors.Remove(index); UpdateTimeRate(); }
public void Remove(int index) { list.Remove(index); }