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; }
public PricingService(IWorkshopDao workshopDao, IDbContextScopeFactory factory, IAmbientDbContextLocator locator) : base(locator) { if (workshopDao == null) { throw new ArgumentNullException("workshopDao"); } this.workshopDao = workshopDao; this.factory = factory; }
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; }
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; }
/* * 构造函数 * 需要注入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; }
/* * 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; }
public WorkshopBus(IWorkshopDao workshopDao, ILogger <WorkshopBus> logger) { this._workshopDao = workshopDao; this._logger = logger; }
public WorkshopController(IWorkshopService workshop, IWorkshopDao workshopDao, IDbContextScopeFactory factory) : base(workshopDao) { this.workshop = workshop; this.factory = factory; }
protected WorkshopTenantController(IWorkshopDao workshopDao) { WorkshopDao = workshopDao; }
public CachingWorkshopDao(IWorkshopDao decoratedDao, IMemoryCache cache) { this.decoratedDao = decoratedDao; this.cache = cache; }