interoptopus_csharp 0.16.0-alpha.15

The C# backend for Interoptopus.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
namespace My.Company;

// User implementation
public class Plugin : IPlugin
{
    // Ok, if this is uncaught before reaching [UnmanagedCallersOnly] .NET
    // will crash the entire application. 
    public static void Panic()
    {
        throw new Exception("Panic!");
    }

    public static ResultVoidError PanicWithResult()
    {
        throw new Exception("Panic!");
    }
}