Files
ProxyGenerator/src-examples/ProxyInterfaceConsumer/Program.cs
T
Stef Heyenrath e00c0c7706 Implement Complex
2021-07-25 11:16:48 +02:00

21 lines
512 B
C#

using System;
namespace ProxyInterfaceConsumer
{
public class Program
{
public static void Main()
{
IPerson p = new PersonProxy(new Person());
p.Name = "test";
p.Address = new AddressProxy(new Address { HouseNumber = 42 });
//p.MyNamedTypeSymbol = null;
//p.Compilation = null;
//p.Add("x");
//p.Void();
Console.WriteLine(System.Text.Json.JsonSerializer.Serialize(p));
}
}
}