コード例 #1
0
ファイル: TerminalVm.cs プロジェクト: bjornebjornson/LottoEf4
        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();
        }
コード例 #2
0
 public TerminalTasks(IPlayService playService, IStateService stateService, ICacheManager cacheManager)
 {
     this.cacheManager = cacheManager.notNull();
     this.playService = playService.notNull();
     this.stateService = stateService.notNull();
 }