コード例 #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();