Grynwald.XmlDocs 1.0.7

dotnet add package Grynwald.XmlDocs --version 1.0.7
NuGet\Install-Package Grynwald.XmlDocs -Version 1.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Grynwald.XmlDocs" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grynwald.XmlDocs --version 1.0.7
#r "nuget: Grynwald.XmlDocs, 1.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Grynwald.XmlDocs as a Cake Addin
#addin nuget:?package=Grynwald.XmlDocs&version=1.0.7

// Install Grynwald.XmlDocs as a Cake Tool
#tool nuget:?package=Grynwald.XmlDocs&version=1.0.7


Table of Contents


C# source code can have structured comments to provide inline API documentation. These comments are saved by the compiler as an XML documentation file.

The Grynwald.XmlDocs package provides a library for parsing these comments into a .NET object model.


To parse an XML documentation file, first reference the Grynwald.XmlDocs package in your project.

Load the documentation file using the DocumentationFile class:

using Grynwald.XmlDocs;

// Load XML documentation file
var documentationFile = DocumentationFile.FromFile("./MyAssembly.xml");

Alternatively, you can parse individual elements directly, e.g. to parse a <member /> node from the documentation file, use

using Grynwald.XmlDocs;

var memberXml = """
    <member name="T:ExampleProject.ExampleClass">
            XML documentation file example

var member = MemberElement.FromXml(memberXml);

To process the documentation file, the library provides support for the Visitor pattern. To create a visitor, either implement IDocumentationVisitor directly or derive from the default implementation DocumentationVisitor and override the Visit() method for the documentation element you want to process.


Grynwald.XmlDocs.MarkdownRenderer is licensed under the MIT License.

For details see

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Grynwald.XmlDocs:

Package Downloads

A library for converting .NET XML documentation files to Markdown.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.7 347 12/13/2022
1.0.6 326 12/12/2022