diff --git a/CryptoExchange.Net/Clients/CryptoRestClient.cs b/CryptoExchange.Net/Clients/CryptoRestClient.cs new file mode 100644 index 0000000..d4ee0bb --- /dev/null +++ b/CryptoExchange.Net/Clients/CryptoRestClient.cs @@ -0,0 +1,27 @@ +using CryptoExchange.Net.Interfaces; +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using System.Linq; + +namespace CryptoExchange.Net.Clients +{ + /// + public class CryptoRestClient : CryptoBaseClient, ICryptoRestClient + { + /// + /// ctor + /// + public CryptoRestClient() + { + } + + /// + /// ctor + /// + /// + public CryptoRestClient(IServiceProvider serviceProvider) : base(serviceProvider) + { + } + } +} \ No newline at end of file diff --git a/CryptoExchange.Net/Interfaces/ICryptoRestClient.cs b/CryptoExchange.Net/Interfaces/ICryptoRestClient.cs new file mode 100644 index 0000000..c3966eb --- /dev/null +++ b/CryptoExchange.Net/Interfaces/ICryptoRestClient.cs @@ -0,0 +1,17 @@ +using System; + +namespace CryptoExchange.Net.Interfaces +{ + /// + /// Client for accessing REST API's for different exchanges + /// + public interface ICryptoRestClient + { + /// + /// Try get + /// + /// + /// + T TryGet(Func createFunc); + } +} \ No newline at end of file