public void Register(IBootstrapperContainerExtension containerExtension) { containerExtension.Register <IProfileExpression>(Mapper.Configuration); containerExtension.Register(Mapper.Engine); containerExtension.RegisterAll <IMapCreator>(); containerExtension.RegisterAll <Profile>(); }
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>(); }
public void Register() { containerExtension.Register <TTarget, TImplementation>(); }