Ejemplo n.º 1
0
        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));
 }
Ejemplo n.º 3
0
 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));
 }