GitHub user jorgebay opened a pull request: https://github.com/apache/tinkerpop/pull/620
TINKERPOP-1552 C# GLV: Generics and enum generation Added type safety to traversal interface. For example: ```csharp Vertex vertex = g.V().Next(); // Compile time error Edge edge = g.V().Next(); ``` As C# generics is more strict than in Java, some methods require the user to specify the expected type: ```csharp // Specify the type of the value of the property "age" IList<int> userAgeList = g.V().HasLabel("user").Values<int>("age").ToList(); ``` Additionally, I've changed the letter case of the enums generated in C# to match the C# naming convention, ie: `g.V().Values<int>("age").Order().By(Order.Decr)` You can merge this pull request into a Git repository by running: $ git pull https://github.com/jorgebay/tinkerpop csharp-glv-generics Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tinkerpop/pull/620.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #620 ---- commit 027524afce7fd239cc7db600ba1fd0b5f005e46e Author: Jorge Bay Gondra <jorgebaygon...@gmail.com> Date: 2017-05-31T15:19:55Z C# GLV: Generics and enum generation ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---