public void DeleteStream(string bucketId, string streamId) { _original.DeleteStream(bucketId, streamId); foreach (var pipelineHook in _pipelineHooks) { pipelineHook.OnDeleteStream(bucketId, streamId); } }
/// <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)); }
/// <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); }
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); }
public void DeleteStream(string bucketId, string streamId) { _persistence.DeleteStream(bucketId, streamId); }
public Task DeleteStream(string bucketId, string streamId) { return(_persistence.DeleteStream(bucketId, streamId)); }
public void DeleteStream(string bucketId, string streamId) { underlying.DeleteStream(bucketId, streamId); }