Beispiel #1
0
        protected override void Load(ContainerBuilder builder)
        {
            MappingRegistrator.Register(_sourceAssemblies);

            builder.RegisterInstance(Mapper.Instance).As <IMapper>();
        }
Beispiel #2
0
 public MappingsModule(Assembly mainAssembly, string @namespace)
     : this(MappingRegistrator.GetReferencedAssemblies(mainAssembly, @namespace))
 {
 }