forked from ddrilling/AsbCloudServer
25 lines
511 B
C#
25 lines
511 B
C#
using System.Reflection;
|
|
|
|
namespace AsbCloudApp
|
|
{
|
|
public class TinyMapper<Tout, Tin>
|
|
where Tout: new()
|
|
{
|
|
private ConstructorInfo[] ctors;
|
|
|
|
public TinyMapper()
|
|
{
|
|
ctors = typeof(Tin).GetConstructors();
|
|
typeof(Tin).GetProperties();
|
|
}
|
|
|
|
//public Tout Map(Tin original, params object?[]? ctorParameters)
|
|
//{
|
|
// var result = new Tout();
|
|
// var convertion
|
|
// return result;
|
|
//}
|
|
|
|
}
|
|
}
|