コード例 #1
0
 public void Register(IBootstrapperContainerExtension containerExtension)
 {
     containerExtension.Register <IProfileExpression>(Mapper.Configuration);
     containerExtension.Register(Mapper.Engine);
     containerExtension.RegisterAll <IMapCreator>();
     containerExtension.RegisterAll <Profile>();
 }
コード例 #2
0
 public void Register(IBootstrapperContainerExtension containerExtension)
 {
     containerExtension.Register(AutoMapperExtension.ProfileExpression);
     containerExtension.Register(AutoMapperExtension.ConfigurationProvider);
     containerExtension.Register(AutoMapperExtension.Mapper);
     containerExtension.Register(AutoMapperExtension.Engine);
     containerExtension.Register <IExpressionBuilder, ExpressionBuilder>();
     containerExtension.RegisterAll <IMapCreator>();
     containerExtension.RegisterAll <Profile>();
 }
コード例 #3
0
 public void Register()
 {
     containerExtension.Register <TTarget, TImplementation>();
 }