Main Aim is to auto generate most of the C# and JS Code for Blazor interop.
- Blazor C# and JS interops Generator tool (Basic Data types)
- JSDoc Parser ...
- navigate to
Blaze.JS\Blaze.JS\bin\Debug\netcoreapp3.1\Blaze.JS.exe
- pass target directory of js file with jsDoc styled as argument.
alternatively you can place js doc file content in
Blaze.JS\Blaze.JS\bin\Debug\netcoreapp3.1\dir
folder - example:run
path/to/\Blaze.JS.exe path/to/folder/with/jsfiles
in terminal
you can modify JSDocHelper.cs
to support more data type mapping.
eg. Boolean
in jsdoc-> bool
in C# is added with simple Dictionary
map.Add("Boolean", "bool");
please compile dotnet core project yourself with dotnet build
command