17 lines
411 B
C#
17 lines
411 B
C#
using Nelibur.ObjectMapper;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Hncore.Infrastructure.Extension
|
|
{
|
|
public static class TinyMapperExtension
|
|
{
|
|
public static void Binds<T1, T2>()
|
|
{
|
|
TinyMapper.Bind<T1, T2>();
|
|
TinyMapper.Bind<T2, T1>();
|
|
|
|
TinyMapper.Bind<List<T1>, List<T2>>();
|
|
TinyMapper.Bind<List<T2>, List<T1>>();
|
|
}
|
|
}
|
|
} |