17 lines
373 B
C#
17 lines
373 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Text;
|
|
|
|
namespace AutoMapPropertyHelper
|
|
{
|
|
public interface IAutomappedAttribute<TSource, TSelf>
|
|
{
|
|
public TSource ApplyTo(TSource value);
|
|
public TSelf ApplyFrom(TSource source);
|
|
|
|
public Expression<Func<TSource, TSelf>> GetProjectorFrom();
|
|
}
|
|
|
|
}
|