Magic.AutoMapper 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Magic.AutoMapper --version 1.0.0
NuGet\Install-Package Magic.AutoMapper -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Magic.AutoMapper" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Magic.AutoMapper --version 1.0.0
#r "nuget: Magic.AutoMapper, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Magic.AutoMapper as a Cake Addin
#addin nuget:?package=Magic.AutoMapper&version=1.0.0

// Install Magic.AutoMapper as a Cake Tool
#tool nuget:?package=Magic.AutoMapper&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 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.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Magic.AutoMapper:

Package Downloads
Magic.AutoMapper.Extensions.Microsoft.DependencyInjection

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 255 2/15/2024
1.2.0 167 2/2/2024
1.1.0 278 12/3/2023
1.0.0 7,851 10/26/2021
0.0.0 477 10/26/2021