public ScheduleHandlers(IScheduleQuery scheduleQuery, IEventServer eventServer, IScheduleRepository scheduleRepository, IViewScheduleFactory scheduleFactory) { this.scheduleQuery = scheduleQuery; this.eventServer = eventServer; this.repository = scheduleRepository; this.scheduleFactory = scheduleFactory; }
public ScheduleManagementPresenter(IScheduleQuery scheduleQuery, IDatabaseConnectionFactory databaseConnectionFactory, IDatabaseGateway databaseGateway) { view = new ScheduleManagementView(this); this.scheduleQuery = scheduleQuery; this.databaseConnectionFactory = databaseConnectionFactory; this.databaseGateway = databaseGateway; }
public SchedulesController(IServiceBus bus, IDataStoreDatabaseContextFactory databaseContextFactory, IScheduleQuery scheduleQuery) { Guard.AgainstNull(databaseContextFactory, nameof(databaseContextFactory)); Guard.AgainstNull(scheduleQuery, nameof(scheduleQuery)); Guard.AgainstNull(bus, nameof(bus)); _databaseContextFactory = databaseContextFactory; _scheduleQuery = scheduleQuery; _bus = bus; }
public ScheduleController(ICommandBus commandBus, IScheduleQuery scheduleQuery) { this.commandBus = commandBus; this.scheduleQuery = scheduleQuery; }
public ScheduleCommandExecutor(IScheduleQuery query, ICommandBus commandBus) : base(new State() { CommandBus = commandBus, ScheduleQuery = query }) { }