C# Class Affecto.Mapping.AutoMapper.MapperConfigurationFactory

Factory class for creating AutoMapper configuration using mapping profiles.
ファイルを表示 Open project: affecto/dotnet-Mapping Class Usage Examples

Public Methods

Method Description
CreateMapperConfiguration ( ) : MapperConfiguration

Creates AutoMapper configuration using mapping profiles.

CreateMapperConfiguration ( Assembly assembly ) : MapperConfiguration

Creates AutoMapper configuration using mapping profiles defined in an assembly.

CreateMapperConfiguration ( IEnumerable profiles ) : MapperConfiguration

Creates AutoMapper configuration using mapping profiles.

Protected Methods

Method Description
AddCustomConfiguration ( IMapperConfigurationExpression configuration ) : void

Set custom AutoMapper configuration settings.

Method Details

AddCustomConfiguration() protected method

Set custom AutoMapper configuration settings.
protected AddCustomConfiguration ( IMapperConfigurationExpression configuration ) : void
configuration IMapperConfigurationExpression AutoMapper configuration.
return void

CreateMapperConfiguration() public method

Creates AutoMapper configuration using mapping profiles.
public CreateMapperConfiguration ( ) : MapperConfiguration
return MapperConfiguration

CreateMapperConfiguration() public method

Creates AutoMapper configuration using mapping profiles defined in an assembly.
public CreateMapperConfiguration ( Assembly assembly ) : MapperConfiguration
assembly System.Reflection.Assembly Assembly to where search for mapping profiles.
return MapperConfiguration

CreateMapperConfiguration() public method

Creates AutoMapper configuration using mapping profiles.
public CreateMapperConfiguration ( IEnumerable profiles ) : MapperConfiguration
profiles IEnumerable A set of mapping profiles.
return MapperConfiguration