lodexinc / AutoMapper.Extensions.Microsoft.DependencyInjection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoMapper extensions for Microsoft.Extensions.DependencyInjection

Scans assemblies and:

  1. adds profiles to mapping configuration
  2. adds value resolvers, member value resolvers, type converters to the container.

To use, with an IServiceCollection instance and one or more assemblies:

services.AddAutoMapper(assembly1, assembly2 /*, ...*/);

or marker types:

services.AddAutoMapper(type1, type2 /*, ...*/);

About

License:MIT License


Languages

Language:C# 87.6%Language:PowerShell 12.4%