Esempio n. 1
0
		/// <summary>
		/// Dispatches to the specific visit method for this MIME entity.
		/// </summary>
		/// <remarks>
		/// This default implementation for <see cref="MimeKit.Cryptography.MultipartSigned"/> nodes
		/// calls <see cref="MimeKit.MimeVisitor.VisitMultipartSigned"/>. Override this
		/// method to call into a more specific method on a derived visitor class
		/// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
		/// support unknown visitors by calling
		/// <see cref="MimeKit.MimeVisitor.VisitMultipartSigned"/>.
		/// </remarks>
		/// <param name="visitor">The visitor.</param>
		/// <exception cref="System.ArgumentNullException">
		/// <paramref name="visitor"/> is <c>null</c>.
		/// </exception>
		public override void Accept (MimeVisitor visitor)
		{
			if (visitor == null)
				throw new ArgumentNullException ("visitor");

			visitor.VisitMultipartSigned (this);
		}
		/// <summary>
		/// Dispatches to the specific visit method for this MIME entity.
		/// </summary>
		/// <remarks>
		/// This default implementation for <see cref="MimeKit.Cryptography.MultipartEncrypted"/> nodes
		/// calls <see cref="MimeKit.MimeVisitor.VisitMultipartEncrypted"/>. Override this
		/// method to call into a more specific method on a derived visitor class
		/// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
		/// support unknown visitors by calling
		/// <see cref="MimeKit.MimeVisitor.VisitMultipartEncrypted"/>.
		/// </remarks>
		/// <param name="visitor">The visitor.</param>
		/// <exception cref="System.ArgumentNullException">
		/// <paramref name="visitor"/> is <c>null</c>.
		/// </exception>
		public override void Accept (MimeVisitor visitor)
		{
			if (visitor == null)
				throw new ArgumentNullException (nameof (visitor));

			visitor.VisitMultipartEncrypted (this);
		}
Esempio n. 3
0
        /// <summary>
        /// Dispatches to the specific visit method for this MIME entity.
        /// </summary>
        /// <remarks>
        /// This default implementation for <see cref="TnefPart"/> nodes
        /// calls <see cref="MimeVisitor.VisitTnefPart"/>. Override this
        /// method to call into a more specific method on a derived visitor class
        /// of the <see cref="MimeVisitor"/> class. However, it should still
        /// support unknown visitors by calling
        /// <see cref="MimeVisitor.VisitTnefPart"/>.
        /// </remarks>
        /// <param name="visitor">The visitor.</param>
        /// <exception cref="System.ArgumentNullException">
        /// <paramref name="visitor"/> is <c>null</c>.
        /// </exception>
        public override void Accept(MimeVisitor visitor)
        {
            if (visitor == null)
                throw new ArgumentNullException (nameof (visitor));

            visitor.VisitTnefPart (this);
        }
Esempio n. 4
0
        /// <summary>
        /// Dispatches to the specific visit method for this MIME entity.
        /// </summary>
        /// <remarks>
        /// This default implementation for <see cref="MultipartSigned"/> nodes
        /// calls <see cref="MimeVisitor.VisitMultipartSigned"/>. Override this
        /// method to call into a more specific method on a derived visitor class
        /// of the <see cref="MimeVisitor"/> class. However, it should still
        /// support unknown visitors by calling
        /// <see cref="MimeVisitor.VisitMultipartSigned"/>.
        /// </remarks>
        /// <param name="visitor">The visitor.</param>
        /// <exception cref="System.ArgumentNullException">
        /// <paramref name="visitor"/> is <c>null</c>.
        /// </exception>
        public override void Accept(MimeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitMultipartSigned(this);
        }
Esempio n. 5
0
        /// <summary>
        /// Dispatches to the specific visit method for this MIME entity.
        /// </summary>
        /// <remarks>
        /// This default implementation for <see cref="MimeKit.MimeEntity"/> nodes
        /// calls <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>. Override this
        /// method to call into a more specific method on a derived visitor class
        /// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
        /// support unknown visitors by calling
        /// <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>.
        /// </remarks>
        /// <param name="visitor">The visitor.</param>
        /// <exception cref="System.ArgumentNullException">
        /// <paramref name="visitor"/> is <c>null</c>.
        /// </exception>
        public override void Accept(MimeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException("visitor");
            }

            visitor.VisitApplicationPkcs7Mime(this);
        }
Esempio n. 6
0
        /// <summary>
        /// Dispatches to the specific visit method for this MIME entity.
        /// </summary>
        /// <remarks>
        /// This default implementation for <see cref="MimeKit.Cryptography.ApplicationPgpSignature"/> nodes
        /// calls <see cref="MimeKit.MimeVisitor.VisitApplicationPgpSignature"/>. Override this
        /// method to call into a more specific method on a derived visitor class
        /// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
        /// support unknown visitors by calling
        /// <see cref="MimeKit.MimeVisitor.VisitApplicationPgpSignature"/>.
        /// </remarks>
        /// <param name="visitor">The visitor.</param>
        /// <exception cref="System.ArgumentNullException">
        /// <paramref name="visitor"/> is <c>null</c>.
        /// </exception>
        public override void Accept(MimeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitApplicationPgpSignature(this);
        }
Esempio n. 7
0
		/// <summary>
		/// Dispatches to the specific visit method for this MIME entity.
		/// </summary>
		/// <remarks>
		/// This default implementation for <see cref="MimeKit.MimeEntity"/> nodes
		/// calls <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>. Override this
		/// method to call into a more specific method on a derived visitor class
		/// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
		/// support unknown visitors by calling
		/// <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>.
		/// </remarks>
		/// <param name="visitor">The visitor.</param>
		/// <exception cref="System.ArgumentNullException">
		/// <paramref name="visitor"/> is <c>null</c>.
		/// </exception>
		public override void Accept (MimeVisitor visitor)
		{
			if (visitor == null)
				throw new ArgumentNullException ("visitor");

			visitor.VisitApplicationPgpEncrypted (this);
		}
Esempio n. 8
0
		/// <summary>
		/// Dispatches to the specific visit method for this MIME entity.
		/// </summary>
		/// <remarks>
		/// This default implementation for <see cref="MimeKit.Cryptography.ApplicationPkcs7Mime"/> nodes
		/// calls <see cref="MimeKit.MimeVisitor.VisitApplicationPkcs7Mime"/>. Override this
		/// method to call into a more specific method on a derived visitor class
		/// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
		/// support unknown visitors by calling
		/// <see cref="MimeKit.MimeVisitor.VisitApplicationPkcs7Mime"/>.
		/// </remarks>
		/// <param name="visitor">The visitor.</param>
		/// <exception cref="System.ArgumentNullException">
		/// <paramref name="visitor"/> is <c>null</c>.
		/// </exception>
		public override void Accept (MimeVisitor visitor)
		{
			if (visitor == null)
				throw new ArgumentNullException (nameof (visitor));

			visitor.VisitApplicationPkcs7Mime (this);
		}
Esempio n. 9
0
		/// <summary>
		/// Dispatches to the specific visit method for this MIME entity.
		/// </summary>
		/// <remarks>
		/// This default implementation for <see cref="MimeKit.MimeEntity"/> nodes
		/// calls <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>. Override this
		/// method to call into a more specific method on a derived visitor class
		/// of the <see cref="MimeKit.MimeVisitor"/> class. However, it should still
		/// support unknown visitors by calling
		/// <see cref="MimeKit.MimeVisitor.VisitMimeEntity"/>.
		/// </remarks>
		/// <param name="visitor">The visitor.</param>
		/// <exception cref="System.ArgumentNullException">
		/// <paramref name="visitor"/> is <c>null</c>.
		/// </exception>
		public override void Accept (MimeVisitor visitor)
		{
			if (visitor == null)
				throw new ArgumentNullException ("visitor");

			visitor.VisitApplicationPkcs7Signature (this);
		}