A multipart/report MIME entity.
A multipart/related MIME entity is a general container part for electronic mail reports of any kind.
Inheritance: Multipart
		public void TestArgumentExceptions ()
		{
			var report = new MultipartReport ("disposition-notification");

			Assert.Throws<ArgumentNullException> (() => new MultipartReport ((MimeEntityConstructorArgs) null));
			Assert.Throws<ArgumentNullException> (() => new MultipartReport ((string) null));
			Assert.Throws<ArgumentNullException> (() => new MultipartReport (null, new object[0]));
			Assert.Throws<ArgumentNullException> (() => new MultipartReport ("disposition-notification", null));

			Assert.Throws<ArgumentNullException> (() => report.ReportType = null);

			Assert.Throws<ArgumentNullException> (() => report.Accept (null));
		}
Esempio n. 2
0
 /// <summary>
 /// Visit the multipart/report MIME entity.
 /// </summary>
 /// <remarks>
 /// Visits the multipart/report MIME entity.
 /// </remarks>
 /// <example>
 /// <code language="c#" source="Examples\MimeVisitorExamples.cs" region="HtmlPreviewVisitor" />
 /// </example>
 /// <param name="report">The multipart/report MIME entity.</param>
 protected internal virtual void VisitMultipartReport(MultipartReport report)
 {
     VisitMultipart(report);
 }
Esempio n. 3
0
		/// <summary>
		/// Visit the multipart/report MIME entity.
		/// </summary>
		/// <remarks>
		/// Visits the multipart/report MIME entity.
		/// </remarks>
		/// <example>
		/// <code language="c#" source="Examples\MimeVisitorExamples.cs" region="HtmlPreviewVisitor" />
		/// </example>
		/// <param name="report">The multipart/report MIME entity.</param>
		protected internal virtual void VisitMultipartReport (MultipartReport report)
		{
			VisitMultipart (report);
		}