/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }
/// <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); }