Aperea.Infrastructure.IoC.RegistryForAutoMapper.RegistryForAutoMapper C# (CSharp) Method

RegistryForAutoMapper() public method

public RegistryForAutoMapper ( ) : AutoMapper
return AutoMapper
        public RegistryForAutoMapper()
        {
            Scan(s =>
            {
                s.AssembliesForApplication();
                s.AddAllTypesOf<Profile>();
            });
            For<IMappingEngine>().Use(c => Mapper.Engine);
        }
RegistryForAutoMapper