关于[Wrapping JavaScript Libraries with C# in Blazor WebAssembly]的摘要:
Up until now, in this series of articles, we have learned how to call JavaScript code from C#, how to call C# code from JavaScript, and also how to extract a JS code and use it from the Razor class library. But all the time, we had to write some JavaScript code to make the functionality works. That said, in this article, we are going to learn more about wrapping JavaScript Libraries with C# so that our library users can consume JS libraries by writing only C# code.
原文地址: https://code-maze.com/wrapping-javascript-libraries-with-csharp-in-blazor-webassembly/