private ICollection <string> GetColumnNames(IEnumerable <SqlOrderExpression> orderList) { var gatherer = new ColumnNameGatherer(); foreach (SqlOrderExpression expression in orderList) { gatherer.Visit(expression.Expression); } return(gatherer.Names); }
ICollection <string> GetColumnNames(IEnumerable <SqlOrderExpression> orderList) { var visitor = new ColumnNameGatherer(); foreach (var expr in orderList) { visitor.Visit(expr.Expression); } return(visitor.Names); }
ICollection<string> GetColumnNames(IEnumerable<SqlOrderExpression> orderList) { var visitor = new ColumnNameGatherer(); foreach (var expr in orderList) { visitor.Visit(expr.Expression); } return visitor.Names; }