File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -77,11 +77,11 @@ If you have an `IJSObjectReference` or an `IJSInProcessObjectReference` for a ty
7777``` csharp
7878// Blazor Server compatible.
7979IJSObjectReference jSFile ; // JS Reference from other package or your own JSInterop.
80- File file = File .Create (JSRuntime , jSFile )
80+ File file = File .Create (JSRuntime , jSFile );
8181
8282// InProcess only supported in Blazor WebAssembly.
8383IJSInProcessObjectReference jSFileInProcess ; // JS Reference from other package or your own JSInterop.
84- FileInProcess fileInProcess = await File .CreateAsync (JSRuntime , jSFileInProcess )
84+ FileInProcess fileInProcess = await File .CreateAsync (JSRuntime , jSFileInProcess );
8585```
8686
8787## Add to service collection
@@ -142,4 +142,4 @@ This repository was build with inspiration and help from the following series of
142142- [ Call anonymous C# functions from JS in Blazor WASM] ( https://blog.elmah.io/call-anonymous-c-functions-from-js-in-blazor-wasm/ )
143143- [ Using JS Object References in Blazor WASM to wrap JS libraries] ( https://blog.elmah.io/using-js-object-references-in-blazor-wasm-to-wrap-js-libraries/ )
144144- [ Blazor WASM 404 error and fix for GitHub Pages] ( https://blog.elmah.io/blazor-wasm-404-error-and-fix-for-github-pages/ )
145- - [ How to fix Blazor WASM base path problems] ( https://blog.elmah.io/how-to-fix-blazor-wasm-base-path-problems/ )
145+ - [ How to fix Blazor WASM base path problems] ( https://blog.elmah.io/how-to-fix-blazor-wasm-base-path-problems/ )
You can’t perform that action at this time.
0 commit comments