private static ISubGridPipelineBase SubGridPipelineFactoryMethod(PipelineProcessorPipelineStyle key) { return(key switch { PipelineProcessorPipelineStyle.DefaultProgressive => new SubGridPipelineProgressive <SubGridsRequestArgument, SubGridRequestsResponse>(), _ => null });
private static ISubGridPipelineBase SubGridPipelineFactoryMethod(PipelineProcessorPipelineStyle key) { switch (key) { case PipelineProcessorPipelineStyle.DefaultAggregative: return(new SubGridPipelineAggregative <SubGridsRequestArgument, SubGridRequestsResponse>()); default: return(null); } }