示例#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);
 }