FastGithub/FastGithub.FlowAnalyze/FlowAnalyzeDuplexPipe.cs
xingyuan55 4d9d97f871 start
2022-11-16 08:01:03 +08:00

13 lines
356 B
C#

using System.IO.Pipelines;
namespace FastGithub.FlowAnalyze
{
sealed class FlowAnalyzeDuplexPipe : DelegatingDuplexPipe<FlowAnalyzeStream>
{
public FlowAnalyzeDuplexPipe(IDuplexPipe duplexPipe, IFlowAnalyzer flowAnalyzer) :
base(duplexPipe, stream => new FlowAnalyzeStream(stream, flowAnalyzer))
{
}
}
}