Exemplo n.º 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);
        }
Exemplo n.º 2
0
 private void OnResetSuccess(SettingsChangedEvent _) => ClearResetException();