Ejemplo n.º 1
0
        protected virtual void VisitEntity(DomEntity entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException(nameof(entity));
            }

            DefaultVisit(entity);
        }
Ejemplo n.º 2
0
        protected virtual void WriteEntity(DomEntity entity)
        {
            if (entity == null)
            {
                throw new ArgumentNullException(nameof(entity));
            }

            // TODO Overloads for writing entities
        }
Ejemplo n.º 3
0
 void IDomNodeVisitor.Visit(DomEntity entity)
 {
     VisitEntity(entity);
 }
Ejemplo n.º 4
0
 void IDomNodeVisitor.Visit(DomEntity entity)
 {
     WriteEntity(entity);
 }