bytecodealliance / wasmtime-dotnet

.NET embedding of Wasmtime https://bytecodealliance.github.io/wasmtime-dotnet/
Apache License 2.0
410 stars 52 forks source link

Update example in readme.md #181

Closed hoangpq closed 1 year ago

hoangpq commented 1 year ago

Hi team,

I tried the example in REAMDE.md and got this error "CS1501: No overload for method 'GetAction' takes 2 arguments".

I make this PR to fix by changing GetAction to take only function name as parameter.

Environment version: Macos Big Sur dotnet 7.0.100 wasmtime-cli 2.0.1 Wasmtime-package 2.0.1

peterhuene commented 1 year ago

Merging despite CI in main woes (should get fixed today).

hoangpq commented 1 year ago

Thanks @peterhuene!