예제 #1
0
        /// <inheritdoc/>
        public override async Task <bool> TryRemoveAsync(TIdentity id)
        {
            var resultTask = Inner.TryRemoveAsync(id);
            await Task.WhenAll(resultTask, Tap.RemoveAsync(id)).ConfigureAwait(false);

            return(resultTask.Result);
        }
예제 #2
0
        /// <inheritdoc/>
        public override async Task <bool> TryRemoveAsync(TIdentity id)
        {
            var success = await Inner.TryRemoveAsync(id).ConfigureAwait(false);

            await Tap.RemoveAsync(id).ConfigureAwait(false);

            return(success);
        }
예제 #3
0
 /// <inheritdoc/>
 public override async Task RemoveAsync(TIdentity id)
 {
     await Task.WhenAll(
         Inner.RemoveAsync(id),
         Tap.RemoveAsync(id)).ConfigureAwait(false);
 }
예제 #4
0
 /// <inheritdoc/>
 public override async Task RemoveAsync(TRoot item)
 {
     await Task.WhenAll(
         Inner.RemoveAsync(item),
         Tap.RemoveAsync(item)).ConfigureAwait(false);
 }
예제 #5
0
        /// <inheritdoc/>
        public override async Task RemoveAsync(TIdentity id)
        {
            await Inner.RemoveAsync(id).ConfigureAwait(false);

            await Tap.RemoveAsync(id).ConfigureAwait(false);
        }
예제 #6
0
        /// <inheritdoc/>
        public override async Task RemoveAsync(TRoot item)
        {
            await Inner.RemoveAsync(item).ConfigureAwait(false);

            await Tap.RemoveAsync(item).ConfigureAwait(false);
        }