Skip to content

Commit

Permalink
Changed internal client classes to internal access type
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Jul 7, 2024
1 parent e750b97 commit c24fcd4
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Binance.Net.Clients.CoinFuturesApi
{
/// <inheritdoc cref="IBinanceRestClientCoinFuturesApi" />
public class BinanceRestClientCoinFuturesApi : RestApiClient, IBinanceRestClientCoinFuturesApi, IFuturesClient
internal class BinanceRestClientCoinFuturesApi : RestApiClient, IBinanceRestClientCoinFuturesApi, IFuturesClient
{
#region fields
/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Binance.Net.Clients.CoinFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientCoinFuturesApiAccount : IBinanceRestClientCoinFuturesApiAccount
internal class BinanceRestClientCoinFuturesApiAccount : IBinanceRestClientCoinFuturesApiAccount
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Binance.Net.Clients.CoinFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientCoinFuturesApiExchangeData : IBinanceRestClientCoinFuturesApiExchangeData
internal class BinanceRestClientCoinFuturesApiExchangeData : IBinanceRestClientCoinFuturesApiExchangeData
{
private readonly ILogger _logger;
private static readonly RequestDefinitionCache _definitions = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Binance.Net.Clients.CoinFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientCoinFuturesApiTrading : IBinanceRestClientCoinFuturesApiTrading
internal class BinanceRestClientCoinFuturesApiTrading : IBinanceRestClientCoinFuturesApiTrading
{
private static readonly RequestDefinitionCache _definitions = new();
private readonly ILogger _logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
namespace Binance.Net.Clients.CoinFuturesApi
{
/// <inheritdoc cref="IBinanceSocketClientCoinFuturesApi" />
public class BinanceSocketClientCoinFuturesApi : SocketApiClient, IBinanceSocketClientCoinFuturesApi
internal class BinanceSocketClientCoinFuturesApi : SocketApiClient, IBinanceSocketClientCoinFuturesApi
{
#region fields
private const string _klineStreamEndpoint = "@kline";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc cref="IBinanceRestClientGeneralApi" />
public class BinanceRestClientGeneralApi : RestApiClient, IBinanceRestClientGeneralApi
internal class BinanceRestClientGeneralApi : RestApiClient, IBinanceRestClientGeneralApi
{
#region fields
/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiBrokerage : IBinanceRestClientGeneralApiBrokerage
internal class BinanceRestClientGeneralApiBrokerage : IBinanceRestClientGeneralApiBrokerage
{
private readonly BinanceRestClientGeneralApi _baseClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiFutures : IBinanceRestClientGeneralApiFutures
internal class BinanceRestClientGeneralApiFutures : IBinanceRestClientGeneralApiFutures
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiLoans : IBinanceRestClientGeneralApiLoans
internal class BinanceRestClientGeneralApiLoans : IBinanceRestClientGeneralApiLoans
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiMining : IBinanceRestClientGeneralApiMining
internal class BinanceRestClientGeneralApiMining : IBinanceRestClientGeneralApiMining
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiStaking : IBinanceRestClientGeneralApiStaking
internal class BinanceRestClientGeneralApiStaking : IBinanceRestClientGeneralApiStaking
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Binance.Net.Clients.GeneralApi
{
/// <inheritdoc />
public class BinanceRestClientGeneralApiSubAccount : IBinanceRestClientGeneralApiSubAccount
internal class BinanceRestClientGeneralApiSubAccount : IBinanceRestClientGeneralApiSubAccount
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
2 changes: 1 addition & 1 deletion Binance.Net/Clients/SpotApi/BinanceRestClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc cref="IBinanceRestClientSpotApi" />
public class BinanceRestClientSpotApi : RestApiClient, IBinanceRestClientSpotApi, ISpotClient
internal class BinanceRestClientSpotApi : RestApiClient, IBinanceRestClientSpotApi, ISpotClient
{
#region fields
/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceRestClientSpotApiAccount : IBinanceRestClientSpotApiAccount
internal class BinanceRestClientSpotApiAccount : IBinanceRestClientSpotApiAccount
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceRestClientSpotApiExchangeData : IBinanceRestClientSpotApiExchangeData
internal class BinanceRestClientSpotApiExchangeData : IBinanceRestClientSpotApiExchangeData
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceRestClientSpotApiTrading : IBinanceRestClientSpotApiTrading
internal class BinanceRestClientSpotApiTrading : IBinanceRestClientSpotApiTrading
{
private static readonly RequestDefinitionCache _definitions = new RequestDefinitionCache();

Expand Down
2 changes: 1 addition & 1 deletion Binance.Net/Clients/SpotApi/BinanceSocketClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceSocketClientSpotApi : SocketApiClient, IBinanceSocketClientSpotApi
internal class BinanceSocketClientSpotApi : SocketApiClient, IBinanceSocketClientSpotApi
{
#region fields
/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceSocketClientSpotApiAccount : IBinanceSocketClientSpotApiAccount
internal class BinanceSocketClientSpotApiAccount : IBinanceSocketClientSpotApiAccount
{
private readonly BinanceSocketClientSpotApi _client;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceSocketClientSpotApiExchangeData : IBinanceSocketClientSpotApiExchangeData
internal class BinanceSocketClientSpotApiExchangeData : IBinanceSocketClientSpotApiExchangeData
{
private readonly ILogger _logger;
private readonly BinanceSocketClientSpotApi _client;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Binance.Net.Clients.SpotApi
{
/// <inheritdoc />
public class BinanceSocketClientSpotApiTrading : IBinanceSocketClientSpotApiTrading
internal class BinanceSocketClientSpotApiTrading : IBinanceSocketClientSpotApiTrading
{
private readonly BinanceSocketClientSpotApi _client;
private readonly ILogger _logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
namespace Binance.Net.Clients.UsdFuturesApi
{
/// <inheritdoc cref="IBinanceRestClientUsdFuturesApi" />
public class BinanceRestClientUsdFuturesApi : RestApiClient, IBinanceRestClientUsdFuturesApi, IFuturesClient
internal class BinanceRestClientUsdFuturesApi : RestApiClient, IBinanceRestClientUsdFuturesApi, IFuturesClient
{
#region fields
/// <inheritdoc />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace Binance.Net.Clients.UsdFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientUsdFuturesApiAccount : IBinanceRestClientUsdFuturesApiAccount
internal class BinanceRestClientUsdFuturesApiAccount : IBinanceRestClientUsdFuturesApiAccount
{
private static readonly RequestDefinitionCache _definitions = new();
private readonly BinanceRestClientUsdFuturesApi _baseClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace Binance.Net.Clients.UsdFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientUsdFuturesApiExchangeData : IBinanceRestClientUsdFuturesApiExchangeData
internal class BinanceRestClientUsdFuturesApiExchangeData : IBinanceRestClientUsdFuturesApiExchangeData
{
private readonly ILogger _logger;
private static readonly RequestDefinitionCache _definitions = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace Binance.Net.Clients.UsdFuturesApi
{
/// <inheritdoc />
public class BinanceRestClientUsdFuturesApiTrading : IBinanceRestClientUsdFuturesApiTrading
internal class BinanceRestClientUsdFuturesApiTrading : IBinanceRestClientUsdFuturesApiTrading
{
private readonly ILogger _logger;
private static readonly RequestDefinitionCache _definitions = new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace Binance.Net.Clients.UsdFuturesApi
/// <summary>
/// Client providing access to the Binance Usd futures websocket Api
/// </summary>
public class BinanceSocketClientUsdFuturesApi : SocketApiClient, IBinanceSocketClientUsdFuturesApi
internal class BinanceSocketClientUsdFuturesApi : SocketApiClient, IBinanceSocketClientUsdFuturesApi
{
#region fields
private const string _klineStreamEndpoint = "@kline";
Expand Down

0 comments on commit c24fcd4

Please sign in to comment.