예제 #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");
            }
        }
예제 #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");
            }
        }
예제 #3
0
 private async void ClearSyncError(SyncError syncError, WinEightContext context)
 {
     RemoveSyncError(syncError);
     await context.ClearSyncError(syncError);
 }