internal GraphStore(string baseUrl, IJsonHttpClientWrapper httpClient) { this.baseUrl = baseUrl; this.httpClient = httpClient; }
public void SetupBeforeEachTest() { this.httpClientWrapper = new JsonHttpClientWrapper("neo4j", "longbow"); this.neoClient = this.graphStore.GetClient(); }
/// <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; }
/// <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; }