protected override void Load(ContainerBuilder builder) { MappingRegistrator.Register(_sourceAssemblies); builder.RegisterInstance(Mapper.Instance).As <IMapper>(); }
public MappingsModule(Assembly mainAssembly, string @namespace) : this(MappingRegistrator.GetReferencedAssemblies(mainAssembly, @namespace)) { }