Magic.AutoMapper.Extensions.Microsoft.DependencyInjection
1.0.0
See the version list below for details.
dotnet add package Magic.AutoMapper.Extensions.Microsoft.DependencyInjection --version 1.0.0
NuGet\Install-Package Magic.AutoMapper.Extensions.Microsoft.DependencyInjection -Version 1.0.0
<PackageReference Include="Magic.AutoMapper.Extensions.Microsoft.DependencyInjection" Version="1.0.0" />
paket add Magic.AutoMapper.Extensions.Microsoft.DependencyInjection --version 1.0.0
#r "nuget: Magic.AutoMapper.Extensions.Microsoft.DependencyInjection, 1.0.0"
// Install Magic.AutoMapper.Extensions.Microsoft.DependencyInjection as a Cake Addin #addin nuget:?package=Magic.AutoMapper.Extensions.Microsoft.DependencyInjection&version=1.0.0 // Install Magic.AutoMapper.Extensions.Microsoft.DependencyInjection as a Cake Tool #tool nuget:?package=Magic.AutoMapper.Extensions.Microsoft.DependencyInjection&version=1.0.0
Magic AutoMapper
Helper to automatic configure mappings with Automapper
What is Magic AutoMapper?
When we work with AutoMapper in a project normally we have an flat and basic profiles to configure maps like csharp Mapper.Map<entity,entityDto>();
where all properties of DTO type are equals (type and name) than source entity.
Magic AutoMapper simplify the way to configure this maps without need create a especific profiles. Maps will be defined into Dto class declaration.
You only need do something like that to Magic Automapper work:
using Magic.AutoMapper;
public class EntityDto : IMapFrom<Entity>
{
public int Id { get; set; }
public string DataName { get; set; }
}
This library is based in an original idea of Jason Taylor, exposed in NDC Sydney 2019 conference.
Getting Started
Comming Soon
Acknowledgements
Code of conduct
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- AutoMapper (>= 10.1.1)
- AutoMapper.Extensions.Microsoft.DependencyInjection (>= 8.1.0)
- Magic.AutoMapper (>= 1.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.19)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.