C# Class Affecto.Mapping.AutoMapper.Autofac.AutofacMapperConfigurationFactory

Factory class for creating AutoMapper configuration using profiles registered to Autofac container.
Inheritance: MapperConfigurationFactory
Exibir arquivo Open project: affecto/dotnet-Mapping Class Usage Examples

Public Methods

Method Description
CreateMapperConfiguration ( IComponentContext componentContext ) : MapperConfiguration

Creates AutoMapper configuration using profiles registered to Autofac container.

Method Details

CreateMapperConfiguration() public method

Creates AutoMapper configuration using profiles registered to Autofac container.
public CreateMapperConfiguration ( IComponentContext componentContext ) : MapperConfiguration
componentContext IComponentContext Autofac component context.
return MapperConfiguration