dotMorten.OmdGenerator 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package dotMorten.OmdGenerator --version 0.2.0
NuGet\Install-Package dotMorten.OmdGenerator -Version 0.2.0
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="dotMorten.OmdGenerator" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add dotMorten.OmdGenerator --version 0.2.0
#r "nuget: dotMorten.OmdGenerator, 0.2.0"
#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 dotMorten.OmdGenerator as a Cake Addin
#addin nuget:?package=dotMorten.OmdGenerator&version=0.2.0

// Install dotMorten.OmdGenerator as a Cake Tool
#tool nuget:?package=dotMorten.OmdGenerator&version=0.2.0

.NET Object Model Diagram Generator

A cross-platform Roslyn-based tool that generates an object model diagram of a set of C# source files

Usage:

dotnet GENERATOR.dll /source=[source folder] /compareSource=[oldSourceFolder] /preprocessors=[defines] /format=[html|image] /ShowPrivate /ShowInternal

Required parameters:
  source        Specifies the folder of source files to include for the object model.
                Separate with ; for multiple folders

Optional parameters:
  compareSource Specifies a folder to compare source and generate a diff model
                This can be useful for finding API changes or compare branches
  format        Format to generate: 'image' generates an image for each object.
                'html' a single html output (html is default)
  preprocessors Define a set of preprocessors values. Use ; to separate multiple
  filters       Defines one or more strings that can't be part of the path Ie '/Samples/;/UnitTests/'
                (use forward slash for folder separators)
  regexfilter   Defines a regular expression for filtering on full file names in the source
  ShowPrivate   Show private members (default is false)
  ShowInternal  Show internal members (default is false)

An example of a generated output for all of .NET Core can be found here.

It can also be used to compare two folders (for instance two separate branches) and only show changes to the API. Here's an example of .NET CoreFX v2.0 vs Master.

Screenshot

Examples

Generate OMD for .NET Core FX source code, and ignore ref and test folders:

dotnet Generator.dll /source=c:\github\dotnet\corefx\src /filters=/ref/;/tests/;/perftests/

Compare .NET CoreFX Master with v2.0.0 repo branches directly from their Github zipped downloads:

dotnet Generator.dll /source=https://github.com/dotnet/corefx/archive/master.zip /compareSource=https://github.com/dotnet/corefx/archive/release/2.0.0.zip /filters=/ref/;/tests/;/perftests/
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.0 16,747 5/28/2022
1.3.1 3,880 10/6/2021
1.2.0 4,824 12/3/2019
1.1.2 4,224 3/18/2019
1.1.1 710 2/11/2019
1.0.0 673 2/11/2019
0.2.0 1,733 3/26/2018
0.1.0 1,123 3/24/2018