Skip to content

Commit

Permalink
Removed unnecessary usings across entire solution
Browse files Browse the repository at this point in the history
  • Loading branch information
clement911 committed Dec 18, 2023
1 parent 5a43e57 commit 0aa8c60
Show file tree
Hide file tree
Showing 106 changed files with 13 additions and 263 deletions.
3 changes: 0 additions & 3 deletions ShopifySharp.Tests/AccessScope_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using ShopifySharp.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;

Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Carrier_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/CustomCollection_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/CustomerAddress_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/DiscountCode_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using ShopifySharp.Filters;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Event_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ShopifySharp.Filters;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/FulfillmentRequest_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/GiftCardAdjustment_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;

Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using ShopifySharp.Converters;
using ShopifySharp.Infrastructure;
using System;
using Xunit;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/InventoryItem_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Threading.Tasks;
using ShopifySharp.Filters;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/LeakyBucket_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
using System.Threading;
using System.Threading.Tasks;
using Xunit;

Expand Down
7 changes: 0 additions & 7 deletions ShopifySharp.Tests/LinkHeaderParser_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
using ShopifySharp.Infrastructure;
using ShopifySharp.Lists;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Location_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using ShopifySharp.Filters;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Policy_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp.Tests/Refund_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using ShopifySharp.Filters;
using Xunit;

namespace ShopifySharp.Tests
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using ShopifySharp.Entities.SalesChannel;
using Xunit;
Expand Down
6 changes: 1 addition & 5 deletions ShopifySharp.Tests/SalesChannel/CollectionListing_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using Xunit;

Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;

Expand Down
7 changes: 0 additions & 7 deletions ShopifySharp.Tests/Serialization_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
using Newtonsoft.Json;
using ShopifySharp.Infrastructure;
using ShopifySharp.Lists;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
4 changes: 0 additions & 4 deletions ShopifySharp.Tests/ShippingZone_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Xunit;

Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Shop_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp.Tests/ShopifyPayments_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Threading.Tasks;
using Xunit;
using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions;

namespace ShopifySharp.Tests
{
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp.Tests/TenderTransaction_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using ShopifySharp.Filters;
using Xunit;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Transaction_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
Expand Down
4 changes: 1 addition & 3 deletions ShopifySharp.Tests/User_Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq;
using System.Threading.Tasks;
using ShopifySharp.Filters;
using Xunit;
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp.Tests/Utils.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Collections.Generic;
using Xunit.Sdk;

namespace ShopifySharp.Tests
{
Expand Down
3 changes: 0 additions & 3 deletions ShopifySharp/Converters/DateFormatConverter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Text;

namespace ShopifySharp.Converters
{
Expand Down
5 changes: 0 additions & 5 deletions ShopifySharp/Converters/FalseToNullConverter.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;

namespace ShopifySharp.Converters
{
Expand Down
8 changes: 1 addition & 7 deletions ShopifySharp/Converters/NullOnErrorConverter.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
using Newtonsoft.Json.Converters;
using System;
using System;
using Newtonsoft.Json;
using ShopifySharp.Enums;
using System.Runtime.Serialization;
using System.Reflection;
using System.Linq;
using Newtonsoft.Json.Linq;

namespace ShopifySharp.Converters
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Converters/NullableEnumConverter.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Newtonsoft.Json.Converters;
using System;
using Newtonsoft.Json;
using ShopifySharp.Enums;
using System.Runtime.Serialization;
using System.Reflection;
using System.Linq;
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/AccessScope.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace ShopifySharp
Expand Down
5 changes: 0 additions & 5 deletions ShopifySharp/Entities/Address.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShopifySharp
{
Expand Down
4 changes: 0 additions & 4 deletions ShopifySharp/Entities/Asset.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShopifySharp
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/CancellationRequest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace ShopifySharp
{
Expand Down
6 changes: 0 additions & 6 deletions ShopifySharp/Entities/Carrier.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using Newtonsoft.Json;
using ShopifySharp.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShopifySharp
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/CarrierShippingRateProvider.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System.Collections.Generic;
using Newtonsoft.Json;

namespace ShopifySharp
Expand Down
6 changes: 0 additions & 6 deletions ShopifySharp/Entities/CheckoutLineItem.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
using Newtonsoft.Json;
using ShopifySharp.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShopifySharp
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/ClientDetails.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using System;

namespace ShopifySharp
{
Expand Down
4 changes: 0 additions & 4 deletions ShopifySharp/Entities/Collect.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShopifySharp
{
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/CollectionListing.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace ShopifySharp
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/Customer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using ShopifySharp.Converters;
using System;
using System.Collections.Generic;

Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/FulfillmentEvent.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using ShopifySharp.Converters;

namespace ShopifySharp
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/FulfillmentHold.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace ShopifySharp
{
Expand Down
1 change: 0 additions & 1 deletion ShopifySharp/Entities/FulfillmentInternationalDuties.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Newtonsoft.Json;
using System.Collections.Generic;

namespace ShopifySharp
{
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/FulfillmentOrderMove.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace ShopifySharp
Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/GiftCard.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;
using ShopifySharp.Converters;

Expand Down
2 changes: 0 additions & 2 deletions ShopifySharp/Entities/InventoryItem.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using ShopifySharp.Enums;
using ShopifySharp.Converters;

namespace ShopifySharp
{
Expand Down
Loading

0 comments on commit 0aa8c60

Please sign in to comment.