Github user jorgebay commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/815#discussion_r173769540 --- Diff: gremlin-dotnet/src/Gremlin.Net/Process/Traversal/Cardinality.cs --- @@ -26,11 +26,16 @@ namespace Gremlin.Net.Process.Traversal { #pragma warning disable 1591 - public enum Cardinality + public class Cardinality : EnumWrapper { - List, - Set, - Single + private Cardinality(string enumValue) + : base("Cardinality", enumValue) + { + } + + public static Cardinality List => new Cardinality("list"); + public static Cardinality Set => new Cardinality("set"); --- End diff -- `"\n\t\t"` creates this weird layout as we use 4 spaces for indentation instead of tabs. We can use either `"\n", followed by 8 spaces` or avoid invoking `join()` and call `.each()` on the template itself.
---