Simple C# reflection to automatically output Markdown tables describing the composition of all user-defined classes/structs/interfaces/enums in the calling assembly.
In github's web UI, press "Code -> Local -> Download ZIP", extract this zip into any location of your choice, remember where you put it.
Add CSToMD as a dependency of your project, either via the Visual Studio GUI (I am unfamiliar with how this works), or by adding:
<ItemGroup>
<ProjectReference Include="Path\To\CSToMD.csproj"/> <!--This is wherever you put the downloaded folder-->
</ItemGroup>
To your project's .csproj
file.
For every assembly you have, call CSToMD.CSToMD.gen()
in that assembly, preferably via the Main()
method if possible.
4) Check that output.md
was outputted with the correct information into your project's running directory (wherever the .exe is)
If it is not present ensure that CSToMD.CSToMD.gen()
is being called, if it is erroring please submit an issue report with appropriate information (e.g: a screenshot of the output)
You may now remove CSToMD as a dependency of your project and go about your day!