예제 #1
0
 /// <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);
     }
 }
예제 #2
0
 /// <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);
     }
 }
예제 #3
0
		/// <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);
		}
예제 #4
0
		/// <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);
		}