1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-17 03:12:56 +00:00

Added name to clients, added common interfaces

This commit is contained in:
Jkorf
2020-12-10 14:05:34 +01:00
parent 3b6463015a
commit df9d09630a
21 changed files with 679 additions and 18 deletions
@@ -9,11 +9,11 @@ namespace CryptoExchange.Net.UnitTests
{
public class TestBaseClient: BaseClient
{
public TestBaseClient(): base(new RestClientOptions("http://testurl.url"), null)
public TestBaseClient(): base("Test", new RestClientOptions("http://testurl.url"), null)
{
}
public TestBaseClient(RestClientOptions exchangeOptions) : base(exchangeOptions, exchangeOptions.ApiCredentials == null ? null : new TestAuthProvider(exchangeOptions.ApiCredentials))
public TestBaseClient(RestClientOptions exchangeOptions) : base("Test", exchangeOptions, exchangeOptions.ApiCredentials == null ? null : new TestAuthProvider(exchangeOptions.ApiCredentials))
{
}