} // Kind // ---------------------------------------------------------------------- public void Visit( IRtfElementVisitor visitor ) { if ( visitor == null ) { throw new ArgumentNullException( "visitor" ); } DoVisit( visitor ); } // Visit
} // Kind // ---------------------------------------------------------------------- public void Visit(IRtfElementVisitor visitor) { if (visitor == null) { throw new ArgumentNullException("visitor"); } DoVisit(visitor); } // Visit
} // ToString protected override void DoVisit(IRtfElementVisitor visitor) { visitor.VisitText(this); } // DoVisit
} // GetHashCode // ---------------------------------------------------------------------- protected abstract void DoVisit( IRtfElementVisitor visitor );
} // ToString // ---------------------------------------------------------------------- protected override void DoVisit( IRtfElementVisitor visitor ) { visitor.VisitTag( this ); } // DoVisit
} // GetHashCode // ---------------------------------------------------------------------- protected abstract void DoVisit(IRtfElementVisitor visitor);
// ---------------------------------------------------------------------- protected override void DoVisit( IRtfElementVisitor visitor ) { visitor.VisitGroup( this ); }