コード例 #1
0
 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;
 }
コード例 #2
0
 public static IGremlinQueryDebugger Override(this IGremlinQueryDebugger debugger, IGremlinQueryDebugger overridingDebugger) => new OverrideGremlinQueryDebugger(debugger, overridingDebugger);
コード例 #3
0
 public static IGremlinQueryEnvironment UseDebugger(this IGremlinQueryEnvironment environment, IGremlinQueryDebugger debugger) => environment.ConfigureDebugger(_ => debugger);
コード例 #4
0
 public OverrideGremlinQueryDebugger(IGremlinQueryDebugger baseDebugger, IGremlinQueryDebugger overridingDebugger)
 {
     _baseDebugger       = baseDebugger;
     _overridingDebugger = overridingDebugger;
 }