Add ProxyInterfaceConsumerViaNuGet project

This commit is contained in:
Stef Heyenrath
2021-07-25 17:29:26 +02:00
parent 762f962e1d
commit a38d8c8ef0
13 changed files with 153 additions and 30 deletions
@@ -0,0 +1,44 @@
using System.Collections.Generic;
namespace ProxyInterfaceConsumer
{
public class Person
{
private int PrivateId { get; }
public int Id { get; }
public long? NullableLong { get; }
public string Name { get; set; }
public Address Address { get; set; }
public List<Address> AddressesLIst { get; set; }
public Dictionary<string, Address> AddressesDict { get; set; } = new Dictionary<string, Address>();
public E E { get; set; }
public IMyInterface MyInterface { get; set; }
public int Add(string s)
{
return 600;
}
public void AddAddress(Address a)
{
AddressesDict.Add($"{AddressesDict.Count}", a);
}
public void Void()
{
}
}
public enum E
{
V1,
V2
}
}