Example #1
0
        }         // Kind

        // ----------------------------------------------------------------------
        public void Visit(IRtfVisualVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException("visitor");
            }
            DoVisit(visitor);
        }         // Visit
 // ----------------------------------------------------------------------
 public void Visit( IRtfVisualVisitor visitor )
 {
     if ( visitor == null )
     {
         throw new ArgumentNullException( "visitor" );
     }
     DoVisit( visitor );
 }
Example #3
0
        }                                                 // CharKind

        protected override void DoVisit(IRtfVisualVisitor visitor)
        {
            visitor.VisitSpecial(this);
        } // DoVisit
        }         // RtfVisualImage

        // ----------------------------------------------------------------------
        protected override void DoVisit(IRtfVisualVisitor visitor)
        {
            visitor.VisitImage(this);
        }         // DoVisit
Example #5
0
        }         // GetHashCode

        // ----------------------------------------------------------------------
        protected abstract void DoVisit(IRtfVisualVisitor visitor);
Example #6
0
 // ----------------------------------------------------------------------
 protected override void DoVisit( IRtfVisualVisitor visitor )
 {
     visitor.VisitBreak( this );
 }
 // ----------------------------------------------------------------------
 protected abstract void DoVisit( IRtfVisualVisitor visitor );
 // ----------------------------------------------------------------------
 protected override void DoVisit( IRtfVisualVisitor visitor )
 {
     visitor.VisitSpecial( this );
 }