Skip to content

Dynamic LINQ writer/visitor: newlines for Queryable method calls #86

@zspitz

Description

@zspitz

Instead of this:

#EnumerableQuery<Person>.Where("Age <= 20").OrderBy("np(LastName[0], \' \')").ThenBy("np(FirstName[0], \' \')")

render this:

#EnumerableQuery<Person>
    .Where("Age <= 20")
    .OrderBy("np(LastName[0], \' \')")
    .ThenBy("np(FirstName[0], \' \')")

Note that if the language is VB, we'd need to do this:

#EnumerableQuery(Of Person).
    Where("Age <= 20").
    OrderBy("np(LastName[0], \' \')").
    ThenBy("np(FirstName[0], \' \')")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions