public static IGremlinQueryEnvironment AddFakePartitionKey(this IGremlinQueryEnvironment env) { return(env .ConfigureAddStepHandler(stepHandler => stepHandler .Override <AddVStep>((steps, step, env, overridden, recurse) => overridden(steps, step, env, recurse) .Push(new PropertyStep("PartitionKey", "PartitionKey"))))); }
public static IGremlinQueryEnvironment UseAddStepHandler(this IGremlinQueryEnvironment source, IAddStepHandler addStepHandler) => source.ConfigureAddStepHandler(_ => addStepHandler);