Skip to content

Commit

Permalink
Upodated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jstedfast committed Nov 11, 2023
1 parent b111bdd commit c97b070
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Documentation/Content/Parsing-Messages.aml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
For the most part, using the MimeParser directly is not necessary unless
you wish to parse a Unix mbox file stream. However, this is how you would
do it:</para>
<code language="c#" source="Examples\MimeParserParseMessage.cs" />
<code language="c#" source="Examples\MimeParserExamples.cs" region="ParseMessage" />
<para>For Unix mbox file streams, you would use the parser like this:</para>
<code language="c#" source="Examples\MimeParserMbox.cs" />
<code language="c#" source="Examples\MimeParserExamples.cs" region="ParseMbox" />
</content>
</section>

Expand Down
6 changes: 4 additions & 2 deletions Documentation/Documentation.shfbproj
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,17 @@
<None Include="Examples\DecodingContent.cs" />
<None Include="Examples\DkimExamples.cs" />
<None Include="Examples\ForwardExamples.cs" />
<None Include="Examples\ImapBodyPartExamples.cs" />
<None Include="Examples\ImapExamples.cs" />
<None Include="Examples\ImapIdleExample.cs" />
<None Include="Examples\MessageDeliveryStatusExamples.cs" />
<None Include="Examples\MimeIterator.cs" />
<None Include="Examples\MimeMessageLoad.cs" />
<None Include="Examples\MimeParserMbox.cs" />
<None Include="Examples\MimeParserParseMessage.cs" />
<None Include="Examples\MimeParserExamples.cs" />
<None Include="Examples\MimeVisitorExamples.cs" />
<None Include="Examples\MultipartFormDataExamples.cs" />
<None Include="Examples\OAuth2ExchangeExample.cs" />
<None Include="Examples\OAuth2GMailExample.cs" />
<None Include="Examples\OpeningContent.cs" />
<None Include="Examples\OpenPGPExamples.cs" />
<None Include="Examples\ParameterExamples.cs" />
Expand Down
2 changes: 1 addition & 1 deletion Documentation/Examples/MimeParserExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public static MimeMessage ParseMessage (string fileName)
}
#endregion // ParseMessage

#region ParseMboxSpool
#region ParseMbox
public static void ParseMbox (string fileName)
{
// Load every message from a Unix mbox spool.
Expand Down
3 changes: 3 additions & 0 deletions MailKit/Search/OrderBy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ public class OrderBy
/// <summary>
/// Initializes a new instance of the <see cref="MailKit.Search.OrderBy"/> class.
/// </summary>
/// <remarks>
/// Creates a new <see cref="OrderBy"/> instance.
/// </remarks>
/// <param name="type">The field to sort by.</param>
/// <param name="order">The sort order.</param>
/// <exception cref="System.ArgumentOutOfRangeException">
Expand Down

0 comments on commit c97b070

Please sign in to comment.