示例#1
0
 public static _GremlinServer WithHost(this _GremlinServer server, string host) => new _GremlinServer(
     host,
     server.Uri.Port,
     server.IsSslEnabled(),
     server.Username,
     server.Password);
示例#2
0
 public static _GremlinServer WithUsername(this _GremlinServer server, string username) => new _GremlinServer(
     server.Uri.Host,
     server.Uri.Port,
     server.IsSslEnabled(),
     username,
     server.Password);
示例#3
0
 public static _GremlinServer WithPassword(this _GremlinServer server, string password) => new _GremlinServer(
     server.Uri.Host,
     server.Uri.Port,
     server.IsSslEnabled(),
     server.Username,
     password);
示例#4
0
 public static _GremlinServer WithPort(this _GremlinServer server, int port) => new _GremlinServer(
     server.Uri.Host,
     port,
     server.IsSslEnabled(),
     server.Username,
     server.Password);