/// <summary> /// Visit the message contained within a message/rfc822 or message/news MIME entity. /// </summary> /// <remarks> /// Visits the message contained within a message/rfc822 or message/news MIME entity. /// </remarks> /// <param name="message">The body part representing the message/rfc822 message.</param> protected virtual void VisitMessage(BodyPart message) { if (message != null) { message.Accept(this); } }
/// <summary> /// Dispatches the entity to one of the more specialized visit methods in this class. /// </summary> /// <remarks> /// Dispatches the entity to one of the more specialized visit methods in this class. /// </remarks> /// <param name="body">The MIME body part.</param> public virtual void Visit(BodyPart body) { if (body != null) { body.Accept(this); } }
/// <summary> /// Visit the message contained within a message/rfc822 or message/news MIME entity. /// </summary> /// <remarks> /// Visits the message contained within a message/rfc822 or message/news MIME entity. /// </remarks> /// <param name="message">The body part representing the message/rfc822 message.</param> protected virtual void VisitMessage (BodyPart message) { if (message != null) message.Accept (this); }
/// <summary> /// Dispatches the entity to one of the more specialized visit methods in this class. /// </summary> /// <remarks> /// Dispatches the entity to one of the more specialized visit methods in this class. /// </remarks> /// <param name="body">The MIME body part.</param> public virtual void Visit (BodyPart body) { if (body != null) body.Accept (this); }