public AccountRecharge(ITradeRepository tradeRepository, ITradeRecordRepository tradeRecordRepository,
                        ITransaction transaction, IServiceProxy serviceProxy, IIocContainer iocContainer) : base(iocContainer)
 {
     this.tradeRepository       = tradeRepository;
     this.tradeRecordRepository = tradeRecordRepository;
     this.getUserState          = serviceProxy.CreateProxy <IGetUserState>();
     this.transaction           = transaction;
 }
 public OrderPay(IOrderRepository orderRepository, IOrderHandleLogRepository orderHandleLogRepository, IServiceProxy serviceProxy
                 , IEventBus eventBus, ITransaction transaction, ICurrentUserInfo currentUserInfo, IIocContainer iocContainer) : base(iocContainer)
 {
     this.orderRepository          = orderRepository;
     this.currentUserInfo          = currentUserInfo;
     this.accountRecharge          = serviceProxy.CreateProxy <IAccountRecharge>();
     this.eventBus                 = eventBus;
     this.orderHandleLogRepository = orderHandleLogRepository;
     this.transaction              = transaction;
 }
 public UserLogin(IUserRepository userRepository, IGlobalTool globalTool, IServiceProxy serviceProxy, IIocContainer iocContainer) : base(iocContainer)
 {
     this.userRepository      = userRepository;
     this.globalTool          = globalTool;
     this.getMyAccountBalance = serviceProxy.CreateProxy <IGetMyAccountBalance>();
 }