public void RemoveGroupByName() { sut.Add("group", new FrequencyGroup(1, 1), 1); sut.Remove("group"); sut.Should().NotContain(group => group.Item1 == "group"); }
public void RemoveZuneAttribute(string name) { _container.OfType <PrivateFrame>().Where(frame => frame.Owner == name).ToList().ForEach( privFrame => _container.Remove(privFrame)); }
public void RemoveZuneAttribute(string name) { //we are removing all from the list just incase there are repeating attributes _container.Where(x => x.Name == name).ToList().ForEach(attrib => _container.Remove(attrib)); }