public TerminalVm(IStateService stateService, ITerminalEvents terminalEvents, ITerminalTasks terminalTasks) { this.terminalTasks = terminalTasks.notNull(); this.stateService = stateService.notNull(); this.terminalEvents = terminalEvents.notNull(); currentState = stateService.CurrentState; terminalEvents.EndOfService += (s, e) => terminalEvents_EndOfTask_handling(); terminalEvents.OnTouchNumber += (s, e) => terminalEvents_OnTouchNumber_handling(); }
public TerminalTasks(IPlayService playService, IStateService stateService, ICacheManager cacheManager) { this.cacheManager = cacheManager.notNull(); this.playService = playService.notNull(); this.stateService = stateService.notNull(); }