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