lyra-wasm-scripting-test/dotnet-guest-test/ExampleWorldImpl.cs

16 lines
275 B
C#
Raw Normal View History

/* namespace dotnet_guest_test;
public class Class1
{
} */
//package example:calculator;
namespace ExampleWorld;//.wit.exports.example.component;
public class ExampleWorldImpl : IExampleWorld
{
public static int Add(int x, int y)
{
return x + y;
}
}