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

            default:
                return(null);
            }
        }