Esempio n. 1
0
        private async Task UpdateRemoteFromLocal()
        {
            try
            {
                if (synchronizer != null)
                {
                    NotifySynchronizationStarted();

                    SynchronizationResult result = await synchronizer.UpdateRemoteFromLocal(plainStorage, accounts);

                    NotifySynchronizationCompleted(result);
                }
            }
            catch (Exception e)
            {
                CompleteWithException(e);

                throw e;
            }
        }