This package and repository has been discontinued with today (2019-05-16) and the sources were moved to this repository. Please use the new package.
This is a cross platform library, written in .netstandard 2.0, that serves as an extension for autofac's containerbuilder. It will register all necessary classes and interfaces of Jimmy Bogard's AutoMapper implementation to the autofac-container so you can use AutoMapper and object-mapping right ahread without worrying about setting up required infrastracture code.
This package is available via nuget. You can install it using Visual-Studio-Nuget-Browser or by using the dotnet-cli
dotnet add package CleanCodeLabs.AutoMapper.Extensions.Autofac.DependencyInjection
If you want to add a specific version of this package
dotnet add package CleanCodeLabs.AutoMapper.Extensions.Autofac.DependencyInjection --version 1.0.0
For more information please visit the official dotnet-cli documentation.
After you have successfully installed the package go ahead to your class and use the extension.