interoptopus_csharp 0.16.0-alpha.18

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

public class TestPatternServicesDependent
{
    [Fact]
    public void NewMainAndDependent()
    {
        using var main = ServiceMain.Create(123);
        using var dependent = ServiceDependent.FromMain(main);


        var rval = dependent.Get();
        Assert.Equal(123u, rval);

        dependent.PassMain(main);
    }
}