/// <summary>
 ///     Creates the <see cref="IGremlinClient" /> with the given settings and pre-configured for JanusGraph.
 /// </summary>
 public IGremlinClient Create()
 {
     return(new GremlinClient(_server, _readerBuilder.Create(), _writerBuilder.Create(),
                              connectionPoolSettings: _connectionPoolSettings));
 }
Example #2
0
 /// <summary>
 ///     Creates the <see cref="IGremlinClient" /> with the given settings and pre-configured for JanusGraph.
 /// </summary>
 public IGremlinClient Create()
 {
     return(new GremlinClient(_server, _readerBuilder.Create(), _writerBuilder.Create()));
 }
        /// <summary>
        ///     Creates the <see cref="IGremlinClient" /> with the given settings and pre-configured for JanusGraph.
        /// </summary>
        public IGremlinClient Create()
        {
            var serializer = _serializer ??
                             new JanusGraphGraphSONMessageSerializer(_readerBuilder.Create(), _writerBuilder.Create());

            return(new GremlinClient(_server, serializer, _connectionPoolSettings));
        }