Example #1
0
        /// <summary>
        /// Clears the sync error and removes it from the error list on the c.
        /// </summary>
        public void ClearSyncError()
        {
            if (syncError != null)
            {
                context.ClearSyncError(syncError);
                syncError = null;

                OnPropertyChanged("SyncError");
                OnPropertyChanged("HasSyncError");
            }
        }
Example #2
0
        /// <summary>
        /// Clears the sync error and removes it from the error list on the c.
        /// </summary>
        public async Task ClearSyncError()
        {
            if (syncError != null)
            {
                await context.ClearSyncError(syncError);

                syncError = null;

                OnPropertyChanged("SyncError");
                OnPropertyChanged("HasSyncError");
            }
        }
Example #3
0
 private async void ClearSyncError(SyncError syncError, WinEightContext context)
 {
     RemoveSyncError(syncError);
     await context.ClearSyncError(syncError);
 }