Files
ProxyGenerator/src-examples/ProxyInterfaceConsumerViaNuGet/Person.cs
T
Stef Heyenrath 0f58ce480d Fix namespace (#1)
* Fix NS

* .
2021-07-25 19:22:24 +02:00

46 lines
897 B
C#

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 Address AddAddress(Address a)
{
AddressesDict.Add($"{AddressesDict.Count}", a);
return a;
}
public void Void()
{
}
}
public enum E
{
V1,
V2
}
}