public override void StartSync(IRemoteStorageSyncPersistance data, List <INote> localnotes, List <INote> localdeletednotes) { _data = (SimpleNoteData)data; using (var web = CreateAuthenticatedClient()) { buckets = SimpleNoteAPI.ListBuckets(web); _logger.Debug( SimpleNotePlugin.Name, string.Format("SimpleNoteAPI.ListBuckets returned {0} elements", buckets.index.Count), string.Join(Environment.NewLine, buckets.index.Select(b => b.id + " (" + b.v + ")"))); } }
public override void FinishSync() { buckets = null; }
public override void FinishSync(out bool immediateResync) { buckets = null; immediateResync = false; }