Esempio n. 1
0
 public void DeleteStream(string bucketId, string streamId)
 {
     _original.DeleteStream(bucketId, streamId);
     foreach (var pipelineHook in _pipelineHooks)
     {
         pipelineHook.OnDeleteStream(bucketId, streamId);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Deletes a stream from the default bucket.
 /// </summary>
 /// <param name="persistStreams">The IPersistStreams instance.</param>
 /// <param name="streamId">The stream id to be deleted.</param>
 public static Task DeleteStream(this IPersistStreams persistStreams, string streamId)
 {
     if (persistStreams == null)
     {
         throw new ArgumentException("persistStreams is null");
     }
     return(persistStreams.DeleteStream(Bucket.Default, streamId));
 }
Esempio n. 3
0
 /// <summary>
 /// Deletes a stream from the default bucket.
 /// </summary>
 /// <param name="persistStreams">The IPersistStreams instance.</param>
 /// <param name="streamId">The stream id to be deleted.</param>
 public static void DeleteStream(this IPersistStreams persistStreams, string streamId)
 {
     if (persistStreams == null)
     {
         throw new ArgumentNullException(nameof(persistStreams));
     }
     persistStreams.DeleteStream(Bucket.Default, streamId);
 }
Esempio n. 4
0
        public async Task DeleteStream(string bucketId, string streamId)
        {
            await _original.DeleteStream(bucketId, streamId);

            foreach (var pipelineHook in _pipelineHooks)
            {
                await pipelineHook.OnDeleteStream(bucketId, streamId);
            }
        }
 public void DeleteStream(string bucketId, string streamId)
 {
     _original.DeleteStream(bucketId, streamId);
 }
Esempio n. 6
0
 public void DeleteStream(string bucketId, string streamId)
 {
     _persistence.DeleteStream(bucketId, streamId);
 }
Esempio n. 7
0
 public Task DeleteStream(string bucketId, string streamId)
 {
     return(_persistence.DeleteStream(bucketId, streamId));
 }
 public void DeleteStream(string bucketId, string streamId)
 {
     underlying.DeleteStream(bucketId, streamId);
 }