new API project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace zero.Mapper;
|
||||
|
||||
public class ZeroMapperContext : IZeroMapperContext
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public IZeroMapper Mapper { get; }
|
||||
|
||||
|
||||
public ZeroMapperContext(IZeroMapper mapper)
|
||||
{
|
||||
Mapper = mapper;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public interface IZeroMapperContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Access to the runtime mapper
|
||||
/// </summary>
|
||||
IZeroMapper Mapper { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user