/// <summary> /// 绑定规则 /// </summary> /// <param name="actionMapperConfigurationExpression"></param> /// <returns></returns> internal static IMapper InstanceMap(Type sourceType, Type destinationType, Action <IMapperConfigurationExpression> actionMapperConfigurationExpression, int type = 1) { BTMap bt = new BTMap(); return(bt.GetMap(sourceType, destinationType, actionMapperConfigurationExpression, type)); }
/// <summary> /// 使用默认配置规则 /// </summary> /// <returns></returns> internal static IMapper InstanceMap(Type sourceType, Type destinationType) { BTMap bt = new BTMap(); return(bt.GetMap(sourceType, destinationType)); }