Skip to content
This repository has been archived by the owner on May 16, 2019. It is now read-only.

alsami/AutoMapper.Extensions.Autofac.DependencyInjection

Repository files navigation

ATTENTION!

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.

AutoMapper.Extensions.Autofac.DependencyInjection

NuGet NuGet Build Status

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.

Installation

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.

Usage

After you have successfully installed the package go ahead to your class and use the extension.