public static GremlinqSetup UseGremlinServer <TVertex, TEdge>(this GremlinqSetup setup)
 {
     return(setup
            .UseGremlinServer()
            .UseModel(GraphModel
                      .FromBaseTypes <TVertex, TEdge>(lookup => lookup
                                                      .IncludeAssembliesOfBaseTypes())));
 }
 public static GremlinqSetup UseGremlinServer <TVertex, TEdge>(this GremlinqSetup setup, Action <ProviderSetup <IGremlinServerConfigurator> >?extraSetupAction = null)
 {
     return(setup
            .UseGremlinServer(extraSetupAction)
            .ConfigureEnvironment(env => env
                                  .UseModel(GraphModel
                                            .FromBaseTypes <TVertex, TEdge>(lookup => lookup
                                                                            .IncludeAssembliesOfBaseTypes()))));
 }