You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: MimeKit/ExperimentalMimeParser.cs
+22-5
Original file line number
Diff line number
Diff line change
@@ -266,6 +266,22 @@ void PopEntity ()
266
266
267
267
#region Mbox Events
268
268
269
+
/// <summary>
270
+
/// Called when an Mbox marker is encountered in the stream.
271
+
/// </summary>
272
+
/// <remarks>
273
+
/// <para>When the stream is specified to be in <see cref="MimeFormat.Mbox"/> format, this method will be called whenever the parser encounters an Mbox marker.</para>
274
+
/// <para>It is not necessary to override this method unless it is desirable to track the offsets of mbox markers within a stream or to extract the mbox marker itself.</para>
275
+
/// </remarks>
276
+
/// <param name="beginOffset">The offset into the stream where the mbox marker begins.</param>
277
+
/// <param name="lineNumber">The line number where the mbox marker exists within the stream.</param>
Copy file name to clipboardexpand all lines: MimeKit/MimeReader.cs
+50-23
Original file line number
Diff line number
Diff line change
@@ -220,6 +220,20 @@ public virtual void SetStream (Stream stream, MimeFormat format = MimeFormat.Def
220
220
221
221
#region Mbox Events
222
222
223
+
/// <summary>
224
+
/// Called when an Mbox marker is encountered in the stream.
225
+
/// </summary>
226
+
/// <remarks>
227
+
/// <para>When the stream is specified to be in <see cref="MimeFormat.Mbox"/> format, this method will be called whenever the parser encounters an Mbox marker.</para>
228
+
/// <para>It is not necessary to override this method unless it is desirable to track the offsets of mbox markers within a stream or to extract the mbox marker itself.</para>
229
+
/// </remarks>
230
+
/// <param name="beginOffset">The offset into the stream where the mbox marker begins.</param>
231
+
/// <param name="lineNumber">The line number where the mbox marker exists within the stream.</param>
/// Called when an Mbox marker is encountered in the stream.
225
239
/// </summary>
@@ -257,6 +271,21 @@ protected virtual Task OnMboxMarkerReadAsync (byte[] buffer, int startIndex, int
257
271
returnTask.CompletedTask;
258
272
}
259
273
274
+
/// <summary>
275
+
/// Called when the end of an Mbox marker is encountered in the stream.
276
+
/// </summary>
277
+
/// <remarks>
278
+
/// <para>When the stream is specified to be in <see cref="MimeFormat.Mbox"/> format, this method will be called whenever the parser encounters the end of an Mbox marker.</para>
279
+
/// <para>It is not necessary to override this method unless it is desirable to track the offsets of mbox markers within a stream or to extract the mbox marker itself.</para>
280
+
/// </remarks>
281
+
/// <param name="beginOffset">The offset into the stream where the mbox marker begins.</param>
282
+
/// <param name="lineNumber">The line number where the mbox marker exists within the stream.</param>
283
+
/// <param name="endOffset">The offset into the stream where the mbox marker ends.</param>
0 commit comments