Exemple #1
0
 /// <inheritdoc/>
 public override async Task CommitAsync()
 {
     try
     {
         await Inner.CommitAsync().ConfigureAwait(false);
     }
     catch (TException ex)
     {
         if (!Handler.Invoke(ex))
         {
             throw;
         }
     }
 }
        /// <inheritdoc/>
        public override async Task CommitAsync()
        {
            await Inner.CommitAsync().ConfigureAwait(false);

            await Tap.CommitAsync().ConfigureAwait(false);
        }
 /// <inheritdoc/>
 public void Commit() => AsyncExtensions.RunSynchronously(() => Inner.CommitAsync());
Exemple #4
0
 /// <inheritdoc/>
 public override async Task CommitAsync()
 {
     await Task.WhenAll(
         Inner.CommitAsync(),
         Tap.CommitAsync()).ConfigureAwait(false);
 }