public CityBus(ICityDao cityDao, ILogger <CityBus> logger, IFactoryDao factoryDao, IWorkshopDao workshopDao, IDeviceDao deviceDao)
 {
     this._cityDao     = cityDao;
     this._logger      = logger;
     this._factoryDao  = factoryDao;
     this._workshopDao = workshopDao;
     this._deviceDao   = deviceDao;
 }
Example #2
0
        public PricingService(IWorkshopDao workshopDao, IDbContextScopeFactory factory, IAmbientDbContextLocator locator) : base(locator)
        {
            if (workshopDao == null)
            {
                throw new ArgumentNullException("workshopDao");
            }

            this.workshopDao = workshopDao;
            this.factory     = factory;
        }
Example #3
0
 public AnchorAssignmentsViewModelGenerator(
     IWorkshopDao workshopDao, IBlobStorage storage, ITextSerializer serializer,
     IDbContextScopeFactory factory, IAmbientDbContextLocator locator)
     : base(locator)
 {
     this.workshopDao = workshopDao;
     this.storage     = storage;
     this.serializer  = serializer;
     this.factory     = factory;
 }
Example #4
0
 public RegistrationController(ICommandBus commandBus,
                               IOrderDao orderDao,
                               IWorkshopDao workshopDao,
                               IDbContextScopeFactory factory,
                               ILogger <RegistrationController> logger)
     : base(workshopDao)
 {
     this.commandBus = commandBus;
     this.orderDao   = orderDao;
     _factory        = factory;
     _logger         = logger;
 }
Example #5
0
 /*
  * 构造函数
  * 需要注入DeviceDataDao, AlarmInfoDao, DeviceDao, WorkshopDao, StateTypeDao
  */
 public DeviceDataBus(IDeviceDataDao deviceDataDao,
                      IAlarmInfoDao alarmInfoDao,
                      ILogger <DeviceDataBus> logger,
                      IDeviceDao deviceDao,
                      IDeviceBus deviceBus,
                      IWorkshopDao workshopDao,
                      IStateTypeDao stateTypeDao,
                      IDeviceDailyOnlineTimeDao deviceDailyOnlineTimeDao,
                      IThresholdDao thresholdDao,
                      IFieldDao fieldDao
                      )
 {
     this._deviceDataDao            = deviceDataDao;
     this._alarmInfoDao             = alarmInfoDao;
     this._logger                   = logger;
     this._deviceDao                = deviceDao;
     this._deviceBus                = deviceBus;
     this._workshopDao              = workshopDao;
     this._stateTypeDao             = stateTypeDao;
     this._deviceDailyOnlineTimeDao = deviceDailyOnlineTimeDao;
     this._thresholdDao             = thresholdDao;
     this._fieldDao                 = fieldDao;
 }
Example #6
0
 /*
  * static OrderController()
  * {
  *  Mapper.Initialize(cfg => cfg.CreateMap<OrderSeat, AssignSeat>());
  * }
  */
 public OrderController(IWorkshopDao conferenceDao, IOrderDao orderDao, ICommandBus bus)
     : base(conferenceDao)
 {
     this.orderDao = orderDao;
     this.bus      = bus;
 }
Example #7
0
 public WorkshopBus(IWorkshopDao workshopDao, ILogger <WorkshopBus> logger)
 {
     this._workshopDao = workshopDao;
     this._logger      = logger;
 }
Example #8
0
 public WorkshopController(IWorkshopService workshop, IWorkshopDao workshopDao, IDbContextScopeFactory factory) : base(workshopDao)
 {
     this.workshop = workshop;
     this.factory  = factory;
 }
 protected WorkshopTenantController(IWorkshopDao workshopDao)
 {
     WorkshopDao = workshopDao;
 }
Example #10
0
 public CachingWorkshopDao(IWorkshopDao decoratedDao, IMemoryCache cache)
 {
     this.decoratedDao = decoratedDao;
     this.cache        = cache;
 }