// See https://aka.ms/new-console-template for more information
using NativeBuffering;

[BufferedMessageSource]
public partial class Entity
{  
    public Foobar[] Collection1 { get; }
    public double[] Collection2 { get; }
    public Entity(Foobar[] collection1, double[] collection2)
    {
        Collection1 = collection1;
        Collection2 = collection2;
    }
}
