BililiveRecorder/BililiveRecorder.Flv/Pipeline/IProcessingPipelineBuilder.cs

15 lines
372 B
C#
Raw Normal View History

2021-02-08 16:51:19 +08:00
using System;
using Microsoft.Extensions.DependencyInjection;
2021-02-08 16:51:19 +08:00
namespace BililiveRecorder.Flv.Pipeline
{
public interface IProcessingPipelineBuilder
{
IServiceCollection ServiceCollection { get; }
2021-02-08 16:51:19 +08:00
IProcessingPipelineBuilder AddRule(Func<ProcessingDelegate, IServiceProvider, ProcessingDelegate> rule);
2021-02-08 16:51:19 +08:00
ProcessingDelegate Build();
}
}