canhorn / EventHorizon.Blazor.TypeScript.Interop.Generator

This project is a Blazor Interop C# Generator, has a sample against the BabylonJS library.
https://wonderful-pond-05f7b3b10.azurestaticapps.net/
MIT License
132 stars 19 forks source link

Blazor Server Support #41

Closed canhorn closed 3 years ago

canhorn commented 3 years ago

Added templates for Blazor Server Interop Generation Added support for no namespace file generation. Added override support for TypeStatement templates. Added Testing to cover new code. Added Sample for Blazor Server application usage. Updated Tool CLI Options Can now generate for Blazor Server or Wasm hosting models.

Closes #21

codecov[bot] commented 3 years ago

Codecov Report

Merging #41 (cfe43f2) into main (1e08568) will increase coverage by 0.04%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
+ Coverage   98.81%   98.85%   +0.04%     
==========================================
  Files          89       92       +3     
  Lines        4048     4198     +150     
  Branches      374      374              
==========================================
+ Hits         4000     4150     +150     
  Misses         18       18              
  Partials       30       30              
Impacted Files Coverage Δ
...t.Interop.Generator/Writers/TypeStatementWriter.cs 98.92% <0.00%> (-0.13%) :arrow_down:
...cript.Interop.Generator/Templates/ReadTemplates.cs 100.00% <0.00%> (ø)
....Interop.Generator/GenerateClassStatementString.cs 100.00% <0.00%> (ø)
...nterop.Generator/Model/ClassGenerationTemplates.cs 100.00% <0.00%> (ø)
....Blazor.Interop.Generator/GenerateInteropSource.cs 100.00% <0.00%> (ø)
...nterop.Generator/Templates/ReadInteropTemplates.cs 100.00% <0.00%> (ø)
....Interop.Generator/Model/TypeStatementTemplates.cs 100.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1e08568...cfe43f2. Read the comment docs.

github-actions[bot] commented 3 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-pond-05f7b3b10-41.centralus.azurestaticapps.net

github-actions[bot] commented 3 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-pond-05f7b3b10-41.centralus.azurestaticapps.net

github-actions[bot] commented 3 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-pond-05f7b3b10-41.centralus.azurestaticapps.net

github-actions[bot] commented 3 years ago

Azure Static Web Apps: Your stage site is ready! Visit it here: https://wonderful-pond-05f7b3b10-41.centralus.azurestaticapps.net