コード例 #1
0
        protected override void Load(ContainerBuilder builder)
        {
            MappingRegistrator.Register(_sourceAssemblies);

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