BililiveRecorder/BililiveRecorder.Flv/DependencyInjectionExtensions.cs

13 lines
394 B
C#
Raw Normal View History

2021-02-23 18:03:37 +08:00
using BililiveRecorder.Flv.Pipeline;
2021-02-08 16:51:19 +08:00
using Microsoft.Extensions.DependencyInjection;
namespace BililiveRecorder.DependencyInjection
{
public static class DependencyInjectionExtensions
{
2021-02-23 18:03:37 +08:00
public static IServiceCollection AddFlv(this IServiceCollection services) => services
.AddTransient<IProcessingPipelineBuilder, ProcessingPipelineBuilder>()
;
2021-02-08 16:51:19 +08:00
}
}