You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,27 +35,24 @@ class Test
35
35
- 3 Skip this if using Nuget package. Follow [this](https://learn.microsoft.com/en-us/dotnet/core/tutorials/library-with-visual-studio?pivots=dotnet-7-0#add-a-project-reference) to add reference to the project.
36
36
- 4 In the Main method add:
37
37
```csharp
38
-
Assemblyassembly=Assembly.GetExecutingAssembly();
39
-
CSTOJScstojs=new(assembly);
40
-
awaitcstojs.GenerateAsync("FULL PATH TO CSHARP FILE YOU WHAT TO CONVERT");
38
+
CSTOJScstojs=new();
39
+
awaitcstojs.GenerateOneAsync("FULL PATH TO CSHARP FILE YOU WHAT TO CONVERT");
41
40
```
42
41
- 5 Run program and file will be generated in output path(default is "Directory.GetCurrentDirectory()") with name "main.js"(default)
@@ -88,7 +85,7 @@ More examples [here](https://tilied.github.io/CSharpToJavaScript/articles/intro.
88
85
89
86
## Some Todos
90
87
-[x]~More comments in code, especially in [CSTOJSOptions](https://github.com/TiLied/CSharpToJavaScript/blob/master/CSharpToJavaScript/CSTOJSOptions.cs)~
91
-
-[ ] Wiki???
88
+
-[ ] Wiki?????
92
89
-[x]~Better and more examples~[Here](https://tilied.github.io/CSharpToJavaScript/articles/intro.html). WIP!
93
90
-[x]~Figure out how to do docs for [api](https://github.com/TiLied/CSharpToJavaScript/tree/master/CSharpToJavaScript/APIs/JS)~[Docs](https://tilied.github.io/CSharpToJavaScript/) WIP!
0 commit comments