You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/07/12 15:00:09 UTC

[05/26] tinkerpop git commit: The GraphTraversal in .NET got out of sync somehow. CTR

The GraphTraversal in .NET got out of sync somehow. CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1f240fe2
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1f240fe2
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1f240fe2

Branch: refs/heads/TINKERPOP-1996
Commit: 1f240fe2593524211553c222deadc4f95628f33a
Parents: 734b01f
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Fri Jun 29 16:04:26 2018 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Fri Jun 29 16:04:26 2018 -0400

----------------------------------------------------------------------
 .../src/Gremlin.Net/Process/Traversal/GraphTraversal.cs     | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1f240fe2/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
----------------------------------------------------------------------
diff --git a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
index 9952455..537cdbe 100644
--- a/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
+++ b/gremlin-dotnet/src/Gremlin.Net/Process/Traversal/GraphTraversal.cs
@@ -1676,5 +1676,14 @@ namespace Gremlin.Net.Process.Traversal
             return Wrap<S, E>(this);
         }
 
+        /// <summary>
+        ///     Adds the with step to this <see cref="GraphTraversal{SType, EType}" />.
+        /// </summary>
+        public GraphTraversal<S, E> With (string key, object value)
+        {
+            Bytecode.AddStep("with", key, value);
+            return Wrap<S, E>(this);
+        }
+
     }
 }
\ No newline at end of file