Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RicoSuter committed Sep 16, 2022
1 parent bcb6cdd commit fa7b85d
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 228 deletions.
15 changes: 5 additions & 10 deletions src/Namotion.Reflection/XmlDocOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
/// </summary>
public class XmlDocOptions
{
/// <summary>
/// The default options.
/// </summary>
public static XmlDocOptions Default { get; } = new XmlDocOptions { };

/// <summary>
/// Specifies whether tho resolve the XML Docs from the NuGet cache or .NET SDK directory.
/// </summary>
Expand All @@ -14,15 +19,5 @@ public class XmlDocOptions
/// Specifies how formatting tags should be processed.
/// </summary>
public XmlDocsFormattingMode FormattingMode { get; set; } = XmlDocsFormattingMode.None;

/// <summary>
/// Creates and initializes an instance of <see cref="XmlDocOptions"/> based on the flag <see cref="ResolveExternalXmlDocs"/>.
/// </summary>
/// <param name="resolveExternalXmlDocs">Specifies whether tho resolve the XML Docs from the NuGet cache or .NET SDK directory.</param>
/// <returns>Instance of <see cref="XmlDocOptions"/> with initialized flag <see cref="ResolveExternalXmlDocs"/>.</returns>
internal static XmlDocOptions Create(bool resolveExternalXmlDocs)
{
return new XmlDocOptions() { ResolveExternalXmlDocs = resolveExternalXmlDocs };
}
}
}
Loading

0 comments on commit fa7b85d

Please sign in to comment.