18 lines
505 B
C#
18 lines
505 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
using System.Text;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
|
|
namespace AutoMapPropertyHelper
|
|
{
|
|
public interface IAutomappedAttribute<TSource, TSelf>
|
|
{
|
|
public TSource ApplyTo(IServiceProvider? providers, TSource value);
|
|
public TSelf ApplyFrom(IServiceProvider? providers, TSource source);
|
|
|
|
public Expression<Func<TSource, TSelf>> GetProjectorFrom(IServiceProvider providers);
|
|
}
|
|
|
|
}
|