public static OutputPipe <IQueryable <TInput> > ApplyOrderByClientRequest <TInput>( this IOutputPipe <IQueryable <TInput> > pipe, Func <IOrderByExpressionBuilder <TInput>, IOrderByExpressionBuilder <TInput> > builder) { var orderByExpressionBuilder = pipe.GetService <IOrderByExpressionBuilder <TInput> >(); return(pipe.ApplyOrderByClientRequest(builder(orderByExpressionBuilder).Build())); }