コード例 #1
0
 internal GraphStore(string baseUrl, IJsonHttpClientWrapper httpClient)
 {
     this.baseUrl    = baseUrl;
     this.httpClient = httpClient;
 }
コード例 #2
0
 public void SetupBeforeEachTest()
 {
     this.httpClientWrapper = new JsonHttpClientWrapper("neo4j", "longbow");
     this.neoClient         = this.graphStore.GetClient();
 }
コード例 #3
0
 /// <summary>
 /// Initialises a new instance of the <see cref="TransactionalNeoRestApiClient"/> class.
 /// </summary>
 /// <param name="httpClient">
 /// The http client.
 /// </param>
 /// <param name="transactionUrl">
 /// The transaction url.
 /// </param>
 public TransactionalNeoRestApiClient(IJsonHttpClientWrapper httpClient, string transactionUrl)
 {
     this.httpClient     = httpClient;
     this.transactionUrl = transactionUrl;
 }
コード例 #4
0
 /// <summary>
 /// Initialises a new instance of the <see cref="ApiClientFactory"/> class.
 /// </summary>
 /// <param name="dataRoot">
 /// The base url.
 /// </param>
 /// <param name="httpClient">
 /// The http client.
 /// </param>
 public ApiClientFactory(NeoDataRootResponse dataRoot, IJsonHttpClientWrapper httpClient)
 {
     this.dataRoot   = dataRoot;
     this.httpClient = httpClient;
 }