예제 #1
0
        private bool RefreshCore(SettingsChangedEvent @event)
        {
            if (_lastEvent != null && _lastEvent.Version >= @event.Version)
            {
                return(false);
            }

            _lastEvent = new SettingsChangedEvent
            {
                Version = @event.Version,
                Data    = @event.Data
            };

            return(true);
        }
예제 #2
0
 private void OnResetSuccess(SettingsChangedEvent _) => ClearResetException();