Example #1
0
        public void Sync()
        {
            if (!_loggedIn)
            {
                return;
            }

            OnSyncStatusChanged(ProfileSyncStatus.InProgress);
            _syncAction.Run();
        }
        public void StartCheckingForUpdate(bool earlyAccess)
        {
            if (_checkForUpdate.Running)
            {
                if (_requestedEarlyAccess == earlyAccess)
                {
                    return;
                }

                _checkForUpdate.Cancel();
            }

            _requestedEarlyAccess = earlyAccess;
            _checkForUpdate.Run();
        }