public UserAccountCreate(IUserRepository userRepository, ITransaction transaction, IGlobalTool globalTool, IEventBus eventBus, IIocContainer iocContainer) : base(iocContainer) { this.userRepository = userRepository; this.globalTool = globalTool; this.eventBus = eventBus; this.transaction = transaction; }
public CancelOrder(IOrderRepository orderRepository, IOrderHandleLogRepository orderHandleLogRepository, IEventBus eventBus, IGlobalTool globalTool, ITransaction transaction, IIocContainer iocContainer) : base(iocContainer) { this.orderRepository = orderRepository; this.orderHandleLogRepository = orderHandleLogRepository; this.eventBus = eventBus; this.globalTool = globalTool; this.transaction = transaction; }
public BaseQueryService(IIocContainer container) { logger = container.Resolve <ILogger <BaseQueryService <Tin, TOut> > >(); currentUser = container.Resolve <ICurrentUserInfo>(); globalTool = container.Resolve <IGlobalTool>(); DtoExtension.BuilderTool(globalTool); modelValidator = container.Resolve <ICustomModelValidator>(); }
protected RepositoryBase(TContext context, IIocContainer _container) { _context = context; globaltool = _container.Resolve <IGlobalTool>(); this.currentUser = _container.Resolve <ICurrentUserInfo>(); }
public UserLogin(IUserRepository userRepository, IGlobalTool globalTool, IServiceProxy serviceProxy, IIocContainer iocContainer) : base(iocContainer) { this.userRepository = userRepository; this.globalTool = globalTool; this.getMyAccountBalance = serviceProxy.CreateProxy <IGetMyAccountBalance>(); }
public static void BuilderTool(IGlobalTool globalTool) { _globalTool = globalTool; }
public RollbackGoodsStock(IGoodsRepository goodsRepository, ITransaction transaction, IGlobalTool globalTool, IIocContainer iocContainer) : base(iocContainer) { this.goodsRepository = goodsRepository; this.globalTool = globalTool; }