Exemplo n.º 1
0
        public override void StartSync(IRemoteStorageSyncPersistance data, List <INote> localnotes, List <INote> localdeletednotes)
        {
            _data = (NextcloudData)data;

            using (var web = CreateAuthenticatedClient())
            {
                remoteNotes = NextcloudAPI.ListNotes(web);

                _logger.Debug(NextcloudPlugin.Name, string.Format("NextcloudAPI.ListNotes returned {0} elements", remoteNotes.Count));
            }
        }
Exemplo n.º 2
0
 public override void FinishSync(out bool immediateResync)
 {
     _data           = null;
     remoteNotes     = null;
     immediateResync = false;
 }
Exemplo n.º 3
0
 public override void FinishSync()
 {
     _data       = null;
     remoteNotes = null;
 }