Skip to content

Commit

Permalink
Unused usings
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Apr 5, 2024
1 parent 9c2bc55 commit 16383dc
Show file tree
Hide file tree
Showing 113 changed files with 18 additions and 242 deletions.
6 changes: 0 additions & 6 deletions CoinEx.Net/Clients/FuturesApi/CoinExRestClientFuturesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,13 @@
using CryptoExchange.Net.Objects;

Check failure on line 7 in CoinEx.Net/Clients/FuturesApi/CoinExRestClientFuturesApi.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'Objects' does not exist in the namespace 'CryptoExchange.Net' (are you missing an assembly reference?)
using CryptoExchange.Net.Authentication;

Check failure on line 8 in CoinEx.Net/Clients/FuturesApi/CoinExRestClientFuturesApi.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'Authentication' does not exist in the namespace 'CryptoExchange.Net' (are you missing an assembly reference?)
using CoinEx.Net.Objects.Internal;
using CryptoExchange.Net.CommonObjects;
using CryptoExchange.Net.Interfaces.CommonClients;
using Microsoft.Extensions.Logging;

Check failure on line 10 in CoinEx.Net/Clients/FuturesApi/CoinExRestClientFuturesApi.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'Logging' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?)
using CoinEx.Net.Objects.Options;
using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Converters.MessageParsing;

Check failure on line 13 in CoinEx.Net/Clients/FuturesApi/CoinExRestClientFuturesApi.cs

View workflow job for this annotation

GitHub Actions / build

The type or namespace name 'Converters' does not exist in the namespace 'CryptoExchange.Net' (are you missing an assembly reference?)
using CryptoExchange.Net.Clients;
using CryptoExchange.Net.Converters.SystemTextJson;
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using CoinEx.Net.Enums;
using System.Linq;
using System.Globalization;
using CoinEx.Net.Interfaces.Clients.FuturesApi;

namespace CoinEx.Net.Clients.FuturesApi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
using CoinEx.Net.Converters;
using CoinEx.Net.Enums;
using CryptoExchange.Net;
using CoinEx.Net.Enums;
using CryptoExchange.Net.Objects;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.ExtensionMethods;
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using System;
using CoinEx.Net.Interfaces.Clients.FuturesApi;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Enums;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using CoinEx.Net.Interfaces.Clients.FuturesApi;
using System;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Objects;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.Objects.Models.V2;
using System;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using CryptoExchange.Net;
using CoinEx.Net.Interfaces.Clients.FuturesApi;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
using CoinEx.Net.Objects.Sockets.V2.Subscriptions;
using CoinEx.Net.Objects.Sockets.V2.Queries;
using System.Linq;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using CoinEx.Net.Interfaces.Clients.FuturesApi;

namespace CoinEx.Net.Clients.FuturesApi
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Clients/SpotApiV1/CoinExRestClientSpotApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
using CryptoExchange.Net.CommonObjects;
using System.Globalization;
using CryptoExchange.Net.Interfaces.CommonClients;
using Newtonsoft.Json.Linq;
using Microsoft.Extensions.Logging;
using CoinEx.Net.Objects.Options;
using CryptoExchange.Net.Interfaces;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
using CoinEx.Net.Converters;
using CoinEx.Net.Enums;
using CryptoExchange.Net;
using CoinEx.Net.Enums;
using CryptoExchange.Net.Objects;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.ExtensionMethods;
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Interfaces.Clients.SpotApiV2;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Objects;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
Expand Down
2 changes: 0 additions & 2 deletions CoinEx.Net/CoinExV2AuthenticationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using System.Collections.Generic;
using System.Net.Http;
using CryptoExchange.Net.Objects;
using CryptoExchange.Net.Interfaces;
using CoinEx.Net.Objects.Internal;
using System.Linq;
using CryptoExchange.Net.Clients;
using CryptoExchange.Net.Converters.SystemTextJson;
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/KlineIntervalConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderOptionConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderSideConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderSideIntConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderStatusConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderTypeConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/OrderTypeIntConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/TransactionRoleConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/UpdateTypeConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Converters/WithdrawStatusConverter.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CoinEx.Net.Enums;
using CryptoExchange.Net.Converters;
using System.Collections.Generic;

namespace CoinEx.Net.Converters
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/AccountType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/BorrowStatus.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/ContractType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/DepositStatus.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
6 changes: 1 addition & 5 deletions CoinEx.Net/Enums/MarginMode.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
namespace CoinEx.Net.Enums
{
/// <summary>
/// Margin mode
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/MovementMethod.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/OrderStatusV2.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/OrderTypeV2.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/OrderUpdateType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/PositionSide.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/PositionUpdateType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/PriceType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/StopOrderUpdateType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/TransferStatus.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/TriggerDirection.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/TriggerPriceType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
3 changes: 0 additions & 3 deletions CoinEx.Net/Enums/WithdrawStatusV2.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using CryptoExchange.Net.Attributes;
using System;
using System.Collections.Generic;
using System.Text;

namespace CoinEx.Net.Enums
{
Expand Down
5 changes: 1 addition & 4 deletions CoinEx.Net/ExtensionMethods/CoinExExtensionMethods.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using System;
using System.Text.RegularExpressions;

namespace CoinEx.Net.ExtensionMethods
namespace CoinEx.Net.ExtensionMethods
{
/// <summary>
/// Extension methods specific to using the CoinEx API
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Interfaces.CommonClients;
using System;

namespace CoinEx.Net.Interfaces.Clients.FuturesApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Enums;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Text.RegularExpressions;
using System;

namespace CoinEx.Net.Interfaces.Clients.FuturesApi
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.Objects.Models.V2;
using System.Collections.Generic;
using System;

namespace CoinEx.Net.Interfaces.Clients.FuturesApi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.Enums;
using CoinEx.Net.Objects.Models;
using CoinEx.Net.Objects.Models.Socket;
using CoinEx.Net.Objects.Models.V2;
using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using CoinEx.Net.Objects.Models.V2;
using CoinEx.Net.Enums;
using System.Collections.Generic;
using System.Diagnostics.Metrics;
using System.Text.RegularExpressions;
using System;

namespace CoinEx.Net.Interfaces.Clients.SpotApiV2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.Objects.Models.V2;
using System.Collections.Generic;
using System;

namespace CoinEx.Net.Interfaces.Clients.SpotApiV2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using CoinEx.Net.Enums;
using CoinEx.Net.Objects.Models;
using CoinEx.Net.Objects.Models.Socket;
using CoinEx.Net.Objects.Models.V2;
using CryptoExchange.Net.Interfaces;
using CryptoExchange.Net.Objects;
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Objects/Models/CoinExBalance.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using CoinEx.Net.Converters;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;

namespace CoinEx.Net.Objects.Models
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Objects/Models/CoinExDeposit.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using CoinEx.Net.Converters;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;

namespace CoinEx.Net.Objects.Models
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Objects/Models/CoinExDepositAddress.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;

namespace CoinEx.Net.Objects.Models
Expand Down
1 change: 0 additions & 1 deletion CoinEx.Net/Objects/Models/CoinExMiningDifficulty.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using CryptoExchange.Net.Converters;
using Newtonsoft.Json;

namespace CoinEx.Net.Objects.Models
Expand Down
Loading

0 comments on commit 16383dc

Please sign in to comment.