Пример #1
0
 /// <inheritdoc/>
 public async Task ResetSyncStateAsync(CancellationToken cancellationToken)
 {
     await _store.UpdateAsync(SyncState.CreateInitialSyncState(), cancellationToken);
 }
Пример #2
0
        /// <inheritdoc/>
        public async Task UpdateSyncStateAsync(SyncState newSyncState, CancellationToken cancellationToken)
        {
            EnsureArg.IsNotNull(newSyncState);

            await _store.UpdateAsync(newSyncState, cancellationToken);
        }