Exemple #1
0
 public void Remove(IElementInterface element)
 {
     _elements.Remove(element);
 }
Exemple #2
0
        //if we want to restrict access for some visitors
        //List<IVisitor> bannedVisitors = new List<IVisitor>() { new ConcreteVisitorB() };

        public void Add(IElementInterface element)
        {
            _elements.Add(element);
        }