public void Dispose_CallsDecOnStateController()
        {
            //Arrange
            _uiLockerContext = new UiLockerContext(_uiStateController);

            //Act
            _uiLockerContext.Dispose();

            //Assert
            A.CallTo(() => _uiStateController.DecUiLock()).MustHaveHappened();
        }
        private void RebindPrimaryStatsToResult()
        {
            _logger.LogEntry();

            _bindingHelper.Rebind(PrimaryStats, _primaryStatRequestCommand.Execution.Result);

            DataAvailable = true;
            _uiStateController.DecUiLock();

            _logger.LogExit();
        }
Пример #3
0
        private void RebindSkillsToResult()
        {
            _logger.LogEntry();

            _bindingHelper.Rebind(SkillViewModels, _skillsRequestCommand.Execution.Result);

            DataAvailable = true;

            _uiStateController.DecUiLock();
            _logger.LogExit();
        }
Пример #4
0
 public void Dispose()
 {
     _uiStateController.DecUiLock();
 }