public GremlinQueryEnvironmentImpl( IGraphModel model, IGremlinQuerySerializer serializer, IGremlinQueryExecutor executor, IGremlinQueryExecutionResultDeserializer deserializer, IGremlinQueryDebugger debugger, IFeatureSet featureSet, IGremlinqOptions options, ILogger logger) { Model = model; Logger = logger; Options = options; Executor = executor; Debugger = debugger; FeatureSet = featureSet; Serializer = serializer; Deserializer = deserializer; }
public static IGremlinQueryDebugger Override(this IGremlinQueryDebugger debugger, IGremlinQueryDebugger overridingDebugger) => new OverrideGremlinQueryDebugger(debugger, overridingDebugger);
public static IGremlinQueryEnvironment UseDebugger(this IGremlinQueryEnvironment environment, IGremlinQueryDebugger debugger) => environment.ConfigureDebugger(_ => debugger);
public OverrideGremlinQueryDebugger(IGremlinQueryDebugger baseDebugger, IGremlinQueryDebugger overridingDebugger) { _baseDebugger = baseDebugger; _overridingDebugger = overridingDebugger; }