Ejemplo n.º 1
0
        public override void Accept(IBookVisitor visitor)
        {
            visitor.BeginVisit(this as dynamic);

            foreach (BookItem item in this.Items)
            {
                item.Accept(visitor);
            }

            visitor.EndVisit(this as dynamic);
        }
Ejemplo n.º 2
0
        public override void Accept(IBookVisitor visitor)
        {
            visitor.BeginVisit(this);

            foreach (Address address in this.Addresses)
            {
                address.Accept(visitor);
            }

            visitor.EndVisit(this);
        }
Ejemplo n.º 3
0
 public void Accept(IBookVisitor visitor)
 {
     visitor.BeginVisit(this as dynamic);
     visitor.EndVisit(this as dynamic);
 }
Ejemplo n.º 4
0
 public abstract void Accept(IBookVisitor visitor);