asereware / Yuml.Net

Model diagram generator for .NET using yUML.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yuml.Net

Model diagram generator for .NET using yUML.me

Based on Chris Owen's yuml-dotnet

How to use

Use the included YumlFactory or create your own implementation by inheriting the IYumlFactory interface.

Generating a class diagram with YumlFactory

Pass your model classes into the constructor.

var types = new List<Type>
                {
                    typeof(Person)
                };

var factory = new YumlFactory(types);

Then get the uri to the model diagram by calling the GenerateClassDiagramUri method.

var imageUri = factory.GenerateClassDiagramUri();

To get public properties and methods, use the DetailLevel parameters:

var imageUri = factory.GenerateClassDiagramUri(DetailLevel.PublicProperties, DetailLevel.PublicMethods);
// It is also possible to show private properties and methods 
// using the DetailLevel.PrivateProperties and DetailLevel.PrivateMethods enumerations.

NOTE: The uri's are cached for 30 000 seconds to enhance performance.

About

Model diagram generator for .NET using yUML.me


Languages

Language:C# 100.0%Language:PowerShell 0.0%