From 0aa8c60820f5d92739ea5dccd4fab7b6fb1fc6f2 Mon Sep 17 00:00:00 2001 From: Clement Date: Mon, 18 Dec 2023 12:31:19 +1100 Subject: [PATCH] Removed unnecessary usings across entire solution --- ShopifySharp.Tests/AccessScope_Tests.cs | 3 --- ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs | 1 - ShopifySharp.Tests/Carrier_Tests.cs | 1 - ShopifySharp.Tests/CustomCollection_Tests.cs | 1 - ShopifySharp.Tests/CustomerAddress_Tests.cs | 1 - ShopifySharp.Tests/DiscountCode_Tests.cs | 1 - ShopifySharp.Tests/Event_Tests.cs | 1 - ShopifySharp.Tests/FulfillmentRequest_Tests.cs | 1 - ShopifySharp.Tests/GiftCardAdjustment_Tests.cs | 1 - ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs | 1 - ShopifySharp.Tests/InventoryItem_Tests.cs | 1 - ShopifySharp.Tests/LeakyBucket_Tests.cs | 1 - ShopifySharp.Tests/LinkHeaderParser_Tests.cs | 7 ------- ShopifySharp.Tests/Location_Tests.cs | 1 - ShopifySharp.Tests/Policy_Tests.cs | 1 - ShopifySharp.Tests/Refund_Tests.cs | 2 -- ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs | 1 - .../SalesChannel/CheckoutSalesChannel_Tests.cs | 1 - .../SalesChannel/CollectionListing_Tests.cs | 6 +----- ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs | 1 - ShopifySharp.Tests/Serialization_Tests.cs | 7 ------- ShopifySharp.Tests/ShippingZone_Tests.cs | 4 ---- ShopifySharp.Tests/Shop_Tests.cs | 1 - ShopifySharp.Tests/ShopifyPayments_Tests.cs | 2 -- ShopifySharp.Tests/TenderTransaction_Tests.cs | 2 -- ShopifySharp.Tests/Transaction_Tests.cs | 1 - ShopifySharp.Tests/User_Tests.cs | 4 +--- ShopifySharp.Tests/Utils.cs | 1 - ShopifySharp/Converters/DateFormatConverter.cs | 3 --- ShopifySharp/Converters/FalseToNullConverter.cs | 5 ----- ShopifySharp/Converters/NullOnErrorConverter.cs | 8 +------- ShopifySharp/Converters/NullableEnumConverter.cs | 1 - ShopifySharp/Entities/AccessScope.cs | 2 -- ShopifySharp/Entities/Address.cs | 5 ----- ShopifySharp/Entities/Asset.cs | 4 ---- ShopifySharp/Entities/CancellationRequest.cs | 1 - ShopifySharp/Entities/Carrier.cs | 6 ------ ShopifySharp/Entities/CarrierShippingRateProvider.cs | 1 - ShopifySharp/Entities/CheckoutLineItem.cs | 6 ------ ShopifySharp/Entities/ClientDetails.cs | 1 - ShopifySharp/Entities/Collect.cs | 4 ---- ShopifySharp/Entities/CollectionListing.cs | 2 -- ShopifySharp/Entities/Customer.cs | 1 - ShopifySharp/Entities/FulfillmentEvent.cs | 2 -- ShopifySharp/Entities/FulfillmentHold.cs | 1 - ShopifySharp/Entities/FulfillmentInternationalDuties.cs | 1 - ShopifySharp/Entities/FulfillmentOrderMove.cs | 2 -- ShopifySharp/Entities/GiftCard.cs | 2 -- ShopifySharp/Entities/InventoryItem.cs | 2 -- ShopifySharp/Entities/InventoryLevelAdjust.cs | 4 ---- ShopifySharp/Entities/LineItem.cs | 5 ----- ShopifySharp/Entities/LineItemDuty.cs | 2 -- ShopifySharp/Entities/OrderEdit.cs | 1 - ShopifySharp/Entities/OrderEditWebhook.cs | 1 - ShopifySharp/Entities/OrderRisk.cs | 1 - ShopifySharp/Entities/Page.cs | 3 --- ShopifySharp/Entities/PriceBasedShippingRate.cs | 1 - ShopifySharp/Entities/Product.cs | 3 --- ShopifySharp/Entities/Province.cs | 1 - ShopifySharp/Entities/RecurringCharge.cs | 5 ----- ShopifySharp/Entities/Redirect.cs | 5 ----- ShopifySharp/Entities/RefundDuty.cs | 3 --- ShopifySharp/Entities/RefundDutyType.cs | 3 --- ShopifySharp/Entities/RefundLineItem.cs | 5 ----- ShopifySharp/Entities/RefundOrderAdjustment.cs | 5 ----- ShopifySharp/Entities/SalesChannel/CardVault.cs | 5 +---- .../Entities/SalesChannel/CheckoutSalesChannel.cs | 1 - ShopifySharp/Entities/SalesChannel/CreatePayment.cs | 5 +---- ShopifySharp/Entities/SalesChannel/CreditCard.cs | 5 +---- ShopifySharp/Entities/SalesChannel/PaymentSalesChannel.cs | 2 -- ShopifySharp/Entities/ScriptTag.cs | 6 ------ ShopifySharp/Entities/Shop.cs | 4 ---- ShopifySharp/Entities/ShopifyPaymentsBalance.cs | 1 - ShopifySharp/Entities/ShopifyPaymentsPayoutSummary.cs | 1 - ShopifySharp/Entities/TaxLine.cs | 5 ----- ShopifySharp/Entities/Theme.cs | 5 ----- ShopifySharp/Entities/TrackingInfo.cs | 1 - ShopifySharp/Entities/Transaction.cs | 6 ------ ShopifySharp/Entities/User.cs | 5 +---- ShopifySharp/Entities/Webhook.cs | 4 ---- ShopifySharp/Entities/WeightBasedShippingRate.cs | 1 - ShopifySharp/Filters/ApplicationCreditListFilter.cs | 2 -- ShopifySharp/Filters/CountryListFilter.cs | 1 - ShopifySharp/Filters/ListFilter.cs | 1 - ShopifySharp/Filters/ProductListingListFilter.cs | 2 -- ShopifySharp/Filters/ShippingZoneListFilter.cs | 2 -- ShopifySharp/Filters/UserListFilter.cs | 2 -- ShopifySharp/Filters/WebhookFilter.cs | 1 - ShopifySharp/Infrastructure/CloneableRequestMessage.cs | 3 --- ShopifySharp/Infrastructure/JsonContent.cs | 4 +--- ShopifySharp/Infrastructure/Parameterizable.cs | 1 - .../Policies/DefaultRequestExecutionPolicy.cs | 3 +-- .../Infrastructure/Policies/IRequestExecutionPolicy.cs | 3 +-- .../Policies/LeakyBucketPolicy/LeakyBucket.cs | 1 - .../Infrastructure/Policies/RetryExecutionPolicy.cs | 1 - ShopifySharp/Infrastructure/RequestResult.cs | 3 +-- ShopifySharp/Infrastructure/RequestUri.cs | 1 - ShopifySharp/Lists/LinkHeaderParserResult.cs | 4 +--- ShopifySharp/Lists/ListResult.cs | 2 -- ShopifySharp/Services/AccessScope/IAccessScopeService.cs | 1 - ShopifySharp/Services/GiftCard/GiftCardService.cs | 2 -- ShopifySharp/Services/IShopifyService.cs | 2 -- ShopifySharp/Services/Order/OrderCreateOptions.cs | 6 ------ ShopifySharp/Services/ScriptTag/ScriptTagService.cs | 5 +---- ShopifySharp/Services/ShopifyService.cs | 1 - ShopifySharp/Services/Webhook/IWebhookService.cs | 1 - 106 files changed, 13 insertions(+), 263 deletions(-) diff --git a/ShopifySharp.Tests/AccessScope_Tests.cs b/ShopifySharp.Tests/AccessScope_Tests.cs index d1a924b6..e7c7d440 100644 --- a/ShopifySharp.Tests/AccessScope_Tests.cs +++ b/ShopifySharp.Tests/AccessScope_Tests.cs @@ -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 { diff --git a/ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs b/ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs index f04e2df0..b258fee3 100644 --- a/ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs +++ b/ShopifySharp.Tests/AssignedFulfillmentOrder_Tests.cs @@ -1,7 +1,6 @@ using ShopifySharp.Filters; using System; using System.Collections.Generic; -using System.Linq; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/Carrier_Tests.cs b/ShopifySharp.Tests/Carrier_Tests.cs index 27c6e0b7..a1fad31f 100644 --- a/ShopifySharp.Tests/Carrier_Tests.cs +++ b/ShopifySharp.Tests/Carrier_Tests.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/CustomCollection_Tests.cs b/ShopifySharp.Tests/CustomCollection_Tests.cs index d9f10c67..00e7d32c 100644 --- a/ShopifySharp.Tests/CustomCollection_Tests.cs +++ b/ShopifySharp.Tests/CustomCollection_Tests.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/CustomerAddress_Tests.cs b/ShopifySharp.Tests/CustomerAddress_Tests.cs index 0446ca1b..d46b45ec 100644 --- a/ShopifySharp.Tests/CustomerAddress_Tests.cs +++ b/ShopifySharp.Tests/CustomerAddress_Tests.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/DiscountCode_Tests.cs b/ShopifySharp.Tests/DiscountCode_Tests.cs index 879e7f4d..626c4507 100644 --- a/ShopifySharp.Tests/DiscountCode_Tests.cs +++ b/ShopifySharp.Tests/DiscountCode_Tests.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Net; using System.Threading.Tasks; using ShopifySharp.Filters; diff --git a/ShopifySharp.Tests/Event_Tests.cs b/ShopifySharp.Tests/Event_Tests.cs index 98833643..1aee4a36 100644 --- a/ShopifySharp.Tests/Event_Tests.cs +++ b/ShopifySharp.Tests/Event_Tests.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ShopifySharp.Filters; diff --git a/ShopifySharp.Tests/FulfillmentRequest_Tests.cs b/ShopifySharp.Tests/FulfillmentRequest_Tests.cs index abb8daa8..713c7ef0 100644 --- a/ShopifySharp.Tests/FulfillmentRequest_Tests.cs +++ b/ShopifySharp.Tests/FulfillmentRequest_Tests.cs @@ -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; diff --git a/ShopifySharp.Tests/GiftCardAdjustment_Tests.cs b/ShopifySharp.Tests/GiftCardAdjustment_Tests.cs index ab76c796..320fb871 100644 --- a/ShopifySharp.Tests/GiftCardAdjustment_Tests.cs +++ b/ShopifySharp.Tests/GiftCardAdjustment_Tests.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Net; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs b/ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs index 9b95946f..a0daca92 100644 --- a/ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs +++ b/ShopifySharp.Tests/InvalidDateToNullConverter_Tests.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using ShopifySharp.Converters; using ShopifySharp.Infrastructure; using System; using Xunit; diff --git a/ShopifySharp.Tests/InventoryItem_Tests.cs b/ShopifySharp.Tests/InventoryItem_Tests.cs index 5cf8dd60..89b10ab5 100644 --- a/ShopifySharp.Tests/InventoryItem_Tests.cs +++ b/ShopifySharp.Tests/InventoryItem_Tests.cs @@ -5,7 +5,6 @@ using System.Threading.Tasks; using ShopifySharp.Filters; using Xunit; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/LeakyBucket_Tests.cs b/ShopifySharp.Tests/LeakyBucket_Tests.cs index 9c42dbb3..1456ee76 100644 --- a/ShopifySharp.Tests/LeakyBucket_Tests.cs +++ b/ShopifySharp.Tests/LeakyBucket_Tests.cs @@ -1,5 +1,4 @@ using System; -using System.Threading; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/LinkHeaderParser_Tests.cs b/ShopifySharp.Tests/LinkHeaderParser_Tests.cs index 34674b2e..7a66afcd 100644 --- a/ShopifySharp.Tests/LinkHeaderParser_Tests.cs +++ b/ShopifySharp.Tests/LinkHeaderParser_Tests.cs @@ -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 { diff --git a/ShopifySharp.Tests/Location_Tests.cs b/ShopifySharp.Tests/Location_Tests.cs index 6ab7440e..68458dac 100644 --- a/ShopifySharp.Tests/Location_Tests.cs +++ b/ShopifySharp.Tests/Location_Tests.cs @@ -1,4 +1,3 @@ -using ShopifySharp.Filters; using System.Linq; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/Policy_Tests.cs b/ShopifySharp.Tests/Policy_Tests.cs index a0c7ddd1..3991ff7e 100644 --- a/ShopifySharp.Tests/Policy_Tests.cs +++ b/ShopifySharp.Tests/Policy_Tests.cs @@ -1,4 +1,3 @@ -using System.Linq; using System.Threading.Tasks; using Xunit; using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; diff --git a/ShopifySharp.Tests/Refund_Tests.cs b/ShopifySharp.Tests/Refund_Tests.cs index ae20278d..417aade7 100644 --- a/ShopifySharp.Tests/Refund_Tests.cs +++ b/ShopifySharp.Tests/Refund_Tests.cs @@ -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 diff --git a/ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs b/ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs index 6edc39ae..e973e5f1 100644 --- a/ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs +++ b/ShopifySharp.Tests/RetryExecutionPolicies_Tests.cs @@ -4,7 +4,6 @@ using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/SalesChannel/CheckoutSalesChannel_Tests.cs b/ShopifySharp.Tests/SalesChannel/CheckoutSalesChannel_Tests.cs index 3c1b5eb4..a25d3e97 100644 --- a/ShopifySharp.Tests/SalesChannel/CheckoutSalesChannel_Tests.cs +++ b/ShopifySharp.Tests/SalesChannel/CheckoutSalesChannel_Tests.cs @@ -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; diff --git a/ShopifySharp.Tests/SalesChannel/CollectionListing_Tests.cs b/ShopifySharp.Tests/SalesChannel/CollectionListing_Tests.cs index 78958fea..46055b1a 100644 --- a/ShopifySharp.Tests/SalesChannel/CollectionListing_Tests.cs +++ b/ShopifySharp.Tests/SalesChannel/CollectionListing_Tests.cs @@ -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; diff --git a/ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs b/ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs index 4252ad7a..ed8b1453 100644 --- a/ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs +++ b/ShopifySharp.Tests/SalesChannel/ProductListing_Tests.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Net; -using System.Text; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/Serialization_Tests.cs b/ShopifySharp.Tests/Serialization_Tests.cs index dc1d84c4..f45746ff 100644 --- a/ShopifySharp.Tests/Serialization_Tests.cs +++ b/ShopifySharp.Tests/Serialization_Tests.cs @@ -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 { diff --git a/ShopifySharp.Tests/ShippingZone_Tests.cs b/ShopifySharp.Tests/ShippingZone_Tests.cs index 9d2f21fc..91f632c1 100644 --- a/ShopifySharp.Tests/ShippingZone_Tests.cs +++ b/ShopifySharp.Tests/ShippingZone_Tests.cs @@ -1,7 +1,3 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Net; using System.Threading.Tasks; using Xunit; diff --git a/ShopifySharp.Tests/Shop_Tests.cs b/ShopifySharp.Tests/Shop_Tests.cs index 4d779794..1f3beff7 100644 --- a/ShopifySharp.Tests/Shop_Tests.cs +++ b/ShopifySharp.Tests/Shop_Tests.cs @@ -1,4 +1,3 @@ -using System; using System.Threading.Tasks; using Xunit; using Xunit.Abstractions; diff --git a/ShopifySharp.Tests/ShopifyPayments_Tests.cs b/ShopifySharp.Tests/ShopifyPayments_Tests.cs index ae2035f0..f7b0aa0b 100644 --- a/ShopifySharp.Tests/ShopifyPayments_Tests.cs +++ b/ShopifySharp.Tests/ShopifyPayments_Tests.cs @@ -1,7 +1,5 @@ -using System; using System.Threading.Tasks; using Xunit; -using EmptyAssert = ShopifySharp.Tests.Extensions.EmptyExtensions; namespace ShopifySharp.Tests { diff --git a/ShopifySharp.Tests/TenderTransaction_Tests.cs b/ShopifySharp.Tests/TenderTransaction_Tests.cs index 3f41c1eb..d5604531 100644 --- a/ShopifySharp.Tests/TenderTransaction_Tests.cs +++ b/ShopifySharp.Tests/TenderTransaction_Tests.cs @@ -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; diff --git a/ShopifySharp.Tests/Transaction_Tests.cs b/ShopifySharp.Tests/Transaction_Tests.cs index 38a46d48..2dad0144 100644 --- a/ShopifySharp.Tests/Transaction_Tests.cs +++ b/ShopifySharp.Tests/Transaction_Tests.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Diagnostics; using System.Linq; using System.Net; using System.Threading.Tasks; diff --git a/ShopifySharp.Tests/User_Tests.cs b/ShopifySharp.Tests/User_Tests.cs index 9a985f86..c0e29dba 100644 --- a/ShopifySharp.Tests/User_Tests.cs +++ b/ShopifySharp.Tests/User_Tests.cs @@ -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; diff --git a/ShopifySharp.Tests/Utils.cs b/ShopifySharp.Tests/Utils.cs index 47cf2f41..8dc080b4 100644 --- a/ShopifySharp.Tests/Utils.cs +++ b/ShopifySharp.Tests/Utils.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using Xunit.Sdk; namespace ShopifySharp.Tests { diff --git a/ShopifySharp/Converters/DateFormatConverter.cs b/ShopifySharp/Converters/DateFormatConverter.cs index b235c2ee..dc38bdc9 100644 --- a/ShopifySharp/Converters/DateFormatConverter.cs +++ b/ShopifySharp/Converters/DateFormatConverter.cs @@ -1,7 +1,4 @@ using Newtonsoft.Json.Converters; -using System; -using System.Collections.Generic; -using System.Text; namespace ShopifySharp.Converters { diff --git a/ShopifySharp/Converters/FalseToNullConverter.cs b/ShopifySharp/Converters/FalseToNullConverter.cs index 68e58a34..0dc75341 100644 --- a/ShopifySharp/Converters/FalseToNullConverter.cs +++ b/ShopifySharp/Converters/FalseToNullConverter.cs @@ -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 { diff --git a/ShopifySharp/Converters/NullOnErrorConverter.cs b/ShopifySharp/Converters/NullOnErrorConverter.cs index 0b0d79bf..b58f4e4b 100644 --- a/ShopifySharp/Converters/NullOnErrorConverter.cs +++ b/ShopifySharp/Converters/NullOnErrorConverter.cs @@ -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 { diff --git a/ShopifySharp/Converters/NullableEnumConverter.cs b/ShopifySharp/Converters/NullableEnumConverter.cs index 7dd801dc..e4d8dd03 100644 --- a/ShopifySharp/Converters/NullableEnumConverter.cs +++ b/ShopifySharp/Converters/NullableEnumConverter.cs @@ -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; diff --git a/ShopifySharp/Entities/AccessScope.cs b/ShopifySharp/Entities/AccessScope.cs index d9591d71..5c037ae5 100644 --- a/ShopifySharp/Entities/AccessScope.cs +++ b/ShopifySharp/Entities/AccessScope.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/Address.cs b/ShopifySharp/Entities/Address.cs index e7f0d8e1..1ad61300 100644 --- a/ShopifySharp/Entities/Address.cs +++ b/ShopifySharp/Entities/Address.cs @@ -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 { diff --git a/ShopifySharp/Entities/Asset.cs b/ShopifySharp/Entities/Asset.cs index 48295c10..870eebb7 100644 --- a/ShopifySharp/Entities/Asset.cs +++ b/ShopifySharp/Entities/Asset.cs @@ -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 { diff --git a/ShopifySharp/Entities/CancellationRequest.cs b/ShopifySharp/Entities/CancellationRequest.cs index f0426923..32f7f714 100644 --- a/ShopifySharp/Entities/CancellationRequest.cs +++ b/ShopifySharp/Entities/CancellationRequest.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Carrier.cs b/ShopifySharp/Entities/Carrier.cs index 9ed62594..dd3f1b07 100644 --- a/ShopifySharp/Entities/Carrier.cs +++ b/ShopifySharp/Entities/Carrier.cs @@ -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 { diff --git a/ShopifySharp/Entities/CarrierShippingRateProvider.cs b/ShopifySharp/Entities/CarrierShippingRateProvider.cs index b70fcae1..70d272d6 100644 --- a/ShopifySharp/Entities/CarrierShippingRateProvider.cs +++ b/ShopifySharp/Entities/CarrierShippingRateProvider.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/CheckoutLineItem.cs b/ShopifySharp/Entities/CheckoutLineItem.cs index b1d7eb46..447331ed 100644 --- a/ShopifySharp/Entities/CheckoutLineItem.cs +++ b/ShopifySharp/Entities/CheckoutLineItem.cs @@ -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 { diff --git a/ShopifySharp/Entities/ClientDetails.cs b/ShopifySharp/Entities/ClientDetails.cs index 5d4dffde..fe774e4a 100644 --- a/ShopifySharp/Entities/ClientDetails.cs +++ b/ShopifySharp/Entities/ClientDetails.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Collect.cs b/ShopifySharp/Entities/Collect.cs index 19f20af4..5efd3a77 100644 --- a/ShopifySharp/Entities/Collect.cs +++ b/ShopifySharp/Entities/Collect.cs @@ -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 { diff --git a/ShopifySharp/Entities/CollectionListing.cs b/ShopifySharp/Entities/CollectionListing.cs index 60731e40..f2f93394 100644 --- a/ShopifySharp/Entities/CollectionListing.cs +++ b/ShopifySharp/Entities/CollectionListing.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/Customer.cs b/ShopifySharp/Entities/Customer.cs index 50ead966..ed30bbe1 100644 --- a/ShopifySharp/Entities/Customer.cs +++ b/ShopifySharp/Entities/Customer.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using ShopifySharp.Converters; using System; using System.Collections.Generic; diff --git a/ShopifySharp/Entities/FulfillmentEvent.cs b/ShopifySharp/Entities/FulfillmentEvent.cs index 20048a64..de57665c 100644 --- a/ShopifySharp/Entities/FulfillmentEvent.cs +++ b/ShopifySharp/Entities/FulfillmentEvent.cs @@ -1,7 +1,5 @@ using Newtonsoft.Json; using System; -using System.Collections.Generic; -using ShopifySharp.Converters; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/FulfillmentHold.cs b/ShopifySharp/Entities/FulfillmentHold.cs index 720d5428..7c366843 100644 --- a/ShopifySharp/Entities/FulfillmentHold.cs +++ b/ShopifySharp/Entities/FulfillmentHold.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/FulfillmentInternationalDuties.cs b/ShopifySharp/Entities/FulfillmentInternationalDuties.cs index 6fb42744..50521c68 100644 --- a/ShopifySharp/Entities/FulfillmentInternationalDuties.cs +++ b/ShopifySharp/Entities/FulfillmentInternationalDuties.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/FulfillmentOrderMove.cs b/ShopifySharp/Entities/FulfillmentOrderMove.cs index e658cb91..35bbc695 100644 --- a/ShopifySharp/Entities/FulfillmentOrderMove.cs +++ b/ShopifySharp/Entities/FulfillmentOrderMove.cs @@ -1,5 +1,3 @@ -using System; -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/GiftCard.cs b/ShopifySharp/Entities/GiftCard.cs index 0ccf1c2a..8d5e7850 100644 --- a/ShopifySharp/Entities/GiftCard.cs +++ b/ShopifySharp/Entities/GiftCard.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using Newtonsoft.Json; using ShopifySharp.Converters; diff --git a/ShopifySharp/Entities/InventoryItem.cs b/ShopifySharp/Entities/InventoryItem.cs index beab59fd..30e9d9cd 100644 --- a/ShopifySharp/Entities/InventoryItem.cs +++ b/ShopifySharp/Entities/InventoryItem.cs @@ -1,8 +1,6 @@ using System; using System.Collections.Generic; using Newtonsoft.Json; -using ShopifySharp.Enums; -using ShopifySharp.Converters; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/InventoryLevelAdjust.cs b/ShopifySharp/Entities/InventoryLevelAdjust.cs index 97449c62..3580d4c8 100644 --- a/ShopifySharp/Entities/InventoryLevelAdjust.cs +++ b/ShopifySharp/Entities/InventoryLevelAdjust.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; using Newtonsoft.Json; -using ShopifySharp.Enums; -using ShopifySharp.Converters; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/LineItem.cs b/ShopifySharp/Entities/LineItem.cs index efe995dc..9680ed13 100644 --- a/ShopifySharp/Entities/LineItem.cs +++ b/ShopifySharp/Entities/LineItem.cs @@ -1,12 +1,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Serialization; using ShopifySharp.Converters; -using ShopifySharp.Enums; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/LineItemDuty.cs b/ShopifySharp/Entities/LineItemDuty.cs index ca00683e..449eb06f 100644 --- a/ShopifySharp/Entities/LineItemDuty.cs +++ b/ShopifySharp/Entities/LineItemDuty.cs @@ -1,7 +1,5 @@ using Newtonsoft.Json; -using System; using System.Collections.Generic; -using System.Text; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/OrderEdit.cs b/ShopifySharp/Entities/OrderEdit.cs index 8d5621a4..494482ba 100644 --- a/ShopifySharp/Entities/OrderEdit.cs +++ b/ShopifySharp/Entities/OrderEdit.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using System; -using System.Collections.Generic; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/OrderEditWebhook.cs b/ShopifySharp/Entities/OrderEditWebhook.cs index bc716673..436e424a 100644 --- a/ShopifySharp/Entities/OrderEditWebhook.cs +++ b/ShopifySharp/Entities/OrderEditWebhook.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/OrderRisk.cs b/ShopifySharp/Entities/OrderRisk.cs index 597eb147..075a3969 100644 --- a/ShopifySharp/Entities/OrderRisk.cs +++ b/ShopifySharp/Entities/OrderRisk.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Page.cs b/ShopifySharp/Entities/Page.cs index 09fd910e..a31bca3f 100644 --- a/ShopifySharp/Entities/Page.cs +++ b/ShopifySharp/Entities/Page.cs @@ -1,9 +1,6 @@ using Newtonsoft.Json; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/PriceBasedShippingRate.cs b/ShopifySharp/Entities/PriceBasedShippingRate.cs index 6af47f7a..0b6c6454 100644 --- a/ShopifySharp/Entities/PriceBasedShippingRate.cs +++ b/ShopifySharp/Entities/PriceBasedShippingRate.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/Product.cs b/ShopifySharp/Entities/Product.cs index 8d688218..d7ec6c54 100644 --- a/ShopifySharp/Entities/Product.cs +++ b/ShopifySharp/Entities/Product.cs @@ -1,9 +1,6 @@ using Newtonsoft.Json; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Province.cs b/ShopifySharp/Entities/Province.cs index 09c0e66a..420d896d 100644 --- a/ShopifySharp/Entities/Province.cs +++ b/ShopifySharp/Entities/Province.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Entities/RecurringCharge.cs b/ShopifySharp/Entities/RecurringCharge.cs index 87f36a96..0d8aca87 100644 --- a/ShopifySharp/Entities/RecurringCharge.cs +++ b/ShopifySharp/Entities/RecurringCharge.cs @@ -1,11 +1,6 @@ using Newtonsoft.Json; using ShopifySharp.Converters; -using ShopifySharp.Enums; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Redirect.cs b/ShopifySharp/Entities/Redirect.cs index f1ae91ff..4a12ea94 100644 --- a/ShopifySharp/Entities/Redirect.cs +++ b/ShopifySharp/Entities/Redirect.cs @@ -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 { diff --git a/ShopifySharp/Entities/RefundDuty.cs b/ShopifySharp/Entities/RefundDuty.cs index dfec3d51..08846193 100644 --- a/ShopifySharp/Entities/RefundDuty.cs +++ b/ShopifySharp/Entities/RefundDuty.cs @@ -1,7 +1,4 @@ using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Text; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/RefundDutyType.cs b/ShopifySharp/Entities/RefundDutyType.cs index ff226224..abe34861 100644 --- a/ShopifySharp/Entities/RefundDutyType.cs +++ b/ShopifySharp/Entities/RefundDutyType.cs @@ -1,7 +1,4 @@ using Newtonsoft.Json; -using System; -using System.Collections.Generic; -using System.Text; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/RefundLineItem.cs b/ShopifySharp/Entities/RefundLineItem.cs index da3ac680..ad1c2e51 100644 --- a/ShopifySharp/Entities/RefundLineItem.cs +++ b/ShopifySharp/Entities/RefundLineItem.cs @@ -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 { diff --git a/ShopifySharp/Entities/RefundOrderAdjustment.cs b/ShopifySharp/Entities/RefundOrderAdjustment.cs index bfbd3c6f..7715ae68 100644 --- a/ShopifySharp/Entities/RefundOrderAdjustment.cs +++ b/ShopifySharp/Entities/RefundOrderAdjustment.cs @@ -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 { diff --git a/ShopifySharp/Entities/SalesChannel/CardVault.cs b/ShopifySharp/Entities/SalesChannel/CardVault.cs index 881247ef..5339e353 100644 --- a/ShopifySharp/Entities/SalesChannel/CardVault.cs +++ b/ShopifySharp/Entities/SalesChannel/CardVault.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace ShopifySharp.Entities.SalesChannel { diff --git a/ShopifySharp/Entities/SalesChannel/CheckoutSalesChannel.cs b/ShopifySharp/Entities/SalesChannel/CheckoutSalesChannel.cs index 1ef6332c..24d104a0 100644 --- a/ShopifySharp/Entities/SalesChannel/CheckoutSalesChannel.cs +++ b/ShopifySharp/Entities/SalesChannel/CheckoutSalesChannel.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Text; using Newtonsoft.Json; namespace ShopifySharp.Entities.SalesChannel diff --git a/ShopifySharp/Entities/SalesChannel/CreatePayment.cs b/ShopifySharp/Entities/SalesChannel/CreatePayment.cs index d446a03c..0382bb02 100644 --- a/ShopifySharp/Entities/SalesChannel/CreatePayment.cs +++ b/ShopifySharp/Entities/SalesChannel/CreatePayment.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace ShopifySharp.Entities.SalesChannel { diff --git a/ShopifySharp/Entities/SalesChannel/CreditCard.cs b/ShopifySharp/Entities/SalesChannel/CreditCard.cs index e87c8fd1..7a9e4d98 100644 --- a/ShopifySharp/Entities/SalesChannel/CreditCard.cs +++ b/ShopifySharp/Entities/SalesChannel/CreditCard.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace ShopifySharp.Entities.SalesChannel { diff --git a/ShopifySharp/Entities/SalesChannel/PaymentSalesChannel.cs b/ShopifySharp/Entities/SalesChannel/PaymentSalesChannel.cs index 4b783606..ddb77006 100644 --- a/ShopifySharp/Entities/SalesChannel/PaymentSalesChannel.cs +++ b/ShopifySharp/Entities/SalesChannel/PaymentSalesChannel.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using Newtonsoft.Json; namespace ShopifySharp.Entities.SalesChannel diff --git a/ShopifySharp/Entities/ScriptTag.cs b/ShopifySharp/Entities/ScriptTag.cs index a0bfd5ac..ead41399 100644 --- a/ShopifySharp/Entities/ScriptTag.cs +++ b/ShopifySharp/Entities/ScriptTag.cs @@ -1,11 +1,5 @@ using Newtonsoft.Json; -using Newtonsoft.Json.Converters; -using ShopifySharp.Enums; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Shop.cs b/ShopifySharp/Entities/Shop.cs index 48d5f86a..9ad5b148 100644 --- a/ShopifySharp/Entities/Shop.cs +++ b/ShopifySharp/Entities/Shop.cs @@ -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 { diff --git a/ShopifySharp/Entities/ShopifyPaymentsBalance.cs b/ShopifySharp/Entities/ShopifyPaymentsBalance.cs index 3b12e44f..4730f729 100644 --- a/ShopifySharp/Entities/ShopifyPaymentsBalance.cs +++ b/ShopifySharp/Entities/ShopifyPaymentsBalance.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/ShopifyPaymentsPayoutSummary.cs b/ShopifySharp/Entities/ShopifyPaymentsPayoutSummary.cs index 59187756..e3d6e667 100644 --- a/ShopifySharp/Entities/ShopifyPaymentsPayoutSummary.cs +++ b/ShopifySharp/Entities/ShopifyPaymentsPayoutSummary.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/TaxLine.cs b/ShopifySharp/Entities/TaxLine.cs index b623d5ad..90b23b2b 100644 --- a/ShopifySharp/Entities/TaxLine.cs +++ b/ShopifySharp/Entities/TaxLine.cs @@ -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 { diff --git a/ShopifySharp/Entities/Theme.cs b/ShopifySharp/Entities/Theme.cs index e697631d..9d7f62e6 100644 --- a/ShopifySharp/Entities/Theme.cs +++ b/ShopifySharp/Entities/Theme.cs @@ -1,10 +1,5 @@ using Newtonsoft.Json; -using ShopifySharp.Enums; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/TrackingInfo.cs b/ShopifySharp/Entities/TrackingInfo.cs index 91cbb6c7..52164b18 100644 --- a/ShopifySharp/Entities/TrackingInfo.cs +++ b/ShopifySharp/Entities/TrackingInfo.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Transaction.cs b/ShopifySharp/Entities/Transaction.cs index 38cea453..1a74fc87 100644 --- a/ShopifySharp/Entities/Transaction.cs +++ b/ShopifySharp/Entities/Transaction.cs @@ -1,11 +1,5 @@ using Newtonsoft.Json; -using ShopifySharp.Converters; -using ShopifySharp.Enums; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/User.cs b/ShopifySharp/Entities/User.cs index 50d17272..98ce2413 100644 --- a/ShopifySharp/Entities/User.cs +++ b/ShopifySharp/Entities/User.cs @@ -1,7 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Newtonsoft.Json; +using Newtonsoft.Json; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/Webhook.cs b/ShopifySharp/Entities/Webhook.cs index 80fada29..3c0629df 100644 --- a/ShopifySharp/Entities/Webhook.cs +++ b/ShopifySharp/Entities/Webhook.cs @@ -1,10 +1,6 @@ using Newtonsoft.Json; -using ShopifySharp.Enums; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace ShopifySharp { diff --git a/ShopifySharp/Entities/WeightBasedShippingRate.cs b/ShopifySharp/Entities/WeightBasedShippingRate.cs index b6b96754..211aec9a 100644 --- a/ShopifySharp/Entities/WeightBasedShippingRate.cs +++ b/ShopifySharp/Entities/WeightBasedShippingRate.cs @@ -1,4 +1,3 @@ -using System.Collections.Generic; using Newtonsoft.Json; namespace ShopifySharp diff --git a/ShopifySharp/Filters/ApplicationCreditListFilter.cs b/ShopifySharp/Filters/ApplicationCreditListFilter.cs index 64ab3da8..d6e0eb88 100644 --- a/ShopifySharp/Filters/ApplicationCreditListFilter.cs +++ b/ShopifySharp/Filters/ApplicationCreditListFilter.cs @@ -1,5 +1,3 @@ -using Newtonsoft.Json; - namespace ShopifySharp.Filters { public class ApplicationCreditListFilter : ListFilter diff --git a/ShopifySharp/Filters/CountryListFilter.cs b/ShopifySharp/Filters/CountryListFilter.cs index 41d14ff8..d8b94bdd 100644 --- a/ShopifySharp/Filters/CountryListFilter.cs +++ b/ShopifySharp/Filters/CountryListFilter.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace ShopifySharp.Filters { diff --git a/ShopifySharp/Filters/ListFilter.cs b/ShopifySharp/Filters/ListFilter.cs index 286b6901..8e2a9d89 100644 --- a/ShopifySharp/Filters/ListFilter.cs +++ b/ShopifySharp/Filters/ListFilter.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using System.Collections.Generic; namespace ShopifySharp.Filters { diff --git a/ShopifySharp/Filters/ProductListingListFilter.cs b/ShopifySharp/Filters/ProductListingListFilter.cs index 846f1d7a..e299f1cf 100644 --- a/ShopifySharp/Filters/ProductListingListFilter.cs +++ b/ShopifySharp/Filters/ProductListingListFilter.cs @@ -1,6 +1,4 @@ using System; -using System.Collections.Generic; -using System.Text; using Newtonsoft.Json; namespace ShopifySharp.Filters diff --git a/ShopifySharp/Filters/ShippingZoneListFilter.cs b/ShopifySharp/Filters/ShippingZoneListFilter.cs index e2a7c821..f5fa0462 100644 --- a/ShopifySharp/Filters/ShippingZoneListFilter.cs +++ b/ShopifySharp/Filters/ShippingZoneListFilter.cs @@ -1,5 +1,3 @@ -using Newtonsoft.Json; - namespace ShopifySharp.Filters { /// diff --git a/ShopifySharp/Filters/UserListFilter.cs b/ShopifySharp/Filters/UserListFilter.cs index fc844fad..2728dd5d 100644 --- a/ShopifySharp/Filters/UserListFilter.cs +++ b/ShopifySharp/Filters/UserListFilter.cs @@ -1,5 +1,3 @@ -using Newtonsoft.Json; - namespace ShopifySharp.Filters { public class UserListFilter : ListFilter diff --git a/ShopifySharp/Filters/WebhookFilter.cs b/ShopifySharp/Filters/WebhookFilter.cs index b7f81be3..45df0936 100644 --- a/ShopifySharp/Filters/WebhookFilter.cs +++ b/ShopifySharp/Filters/WebhookFilter.cs @@ -1,5 +1,4 @@ using Newtonsoft.Json; -using ShopifySharp.Enums; namespace ShopifySharp.Filters { diff --git a/ShopifySharp/Infrastructure/CloneableRequestMessage.cs b/ShopifySharp/Infrastructure/CloneableRequestMessage.cs index ba2ff15a..06d159f6 100644 --- a/ShopifySharp/Infrastructure/CloneableRequestMessage.cs +++ b/ShopifySharp/Infrastructure/CloneableRequestMessage.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; -using System.IO; using System.Net.Http; -using System.Threading.Tasks; namespace ShopifySharp.Infrastructure { diff --git a/ShopifySharp/Infrastructure/JsonContent.cs b/ShopifySharp/Infrastructure/JsonContent.cs index e536d8f4..7d575111 100644 --- a/ShopifySharp/Infrastructure/JsonContent.cs +++ b/ShopifySharp/Infrastructure/JsonContent.cs @@ -1,8 +1,6 @@ -using Newtonsoft.Json; -using System.Net.Http; +using System.Net.Http; using System.Net.Http.Headers; using System.Text; -using System; namespace ShopifySharp.Infrastructure { diff --git a/ShopifySharp/Infrastructure/Parameterizable.cs b/ShopifySharp/Infrastructure/Parameterizable.cs index dd3bf633..0c888a7d 100644 --- a/ShopifySharp/Infrastructure/Parameterizable.cs +++ b/ShopifySharp/Infrastructure/Parameterizable.cs @@ -1,6 +1,5 @@ using Newtonsoft.Json; using System; -using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/ShopifySharp/Infrastructure/Policies/DefaultRequestExecutionPolicy.cs b/ShopifySharp/Infrastructure/Policies/DefaultRequestExecutionPolicy.cs index adc51b32..a316afe6 100644 --- a/ShopifySharp/Infrastructure/Policies/DefaultRequestExecutionPolicy.cs +++ b/ShopifySharp/Infrastructure/Policies/DefaultRequestExecutionPolicy.cs @@ -1,5 +1,4 @@ -using System.Net.Http; -using System.Threading; +using System.Threading; using System.Threading.Tasks; using ShopifySharp.Infrastructure; diff --git a/ShopifySharp/Infrastructure/Policies/IRequestExecutionPolicy.cs b/ShopifySharp/Infrastructure/Policies/IRequestExecutionPolicy.cs index ada31976..f44cff08 100644 --- a/ShopifySharp/Infrastructure/Policies/IRequestExecutionPolicy.cs +++ b/ShopifySharp/Infrastructure/Policies/IRequestExecutionPolicy.cs @@ -1,5 +1,4 @@ -using System.Net.Http; -using System.Threading; +using System.Threading; using System.Threading.Tasks; using ShopifySharp.Infrastructure; diff --git a/ShopifySharp/Infrastructure/Policies/LeakyBucketPolicy/LeakyBucket.cs b/ShopifySharp/Infrastructure/Policies/LeakyBucketPolicy/LeakyBucket.cs index 48332c3f..57d36236 100644 --- a/ShopifySharp/Infrastructure/Policies/LeakyBucketPolicy/LeakyBucket.cs +++ b/ShopifySharp/Infrastructure/Policies/LeakyBucketPolicy/LeakyBucket.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/ShopifySharp/Infrastructure/Policies/RetryExecutionPolicy.cs b/ShopifySharp/Infrastructure/Policies/RetryExecutionPolicy.cs index 61c9ff43..68617c25 100644 --- a/ShopifySharp/Infrastructure/Policies/RetryExecutionPolicy.cs +++ b/ShopifySharp/Infrastructure/Policies/RetryExecutionPolicy.cs @@ -1,5 +1,4 @@ using System; -using System.Net.Http; using System.Threading; using System.Threading.Tasks; using ShopifySharp.Infrastructure; diff --git a/ShopifySharp/Infrastructure/RequestResult.cs b/ShopifySharp/Infrastructure/RequestResult.cs index aae492d7..ebb03839 100644 --- a/ShopifySharp/Infrastructure/RequestResult.cs +++ b/ShopifySharp/Infrastructure/RequestResult.cs @@ -1,5 +1,4 @@ -using Newtonsoft.Json.Linq; -using System.Net.Http; +using System.Net.Http; namespace ShopifySharp { diff --git a/ShopifySharp/Infrastructure/RequestUri.cs b/ShopifySharp/Infrastructure/RequestUri.cs index 85dcfbd8..41ba4731 100644 --- a/ShopifySharp/Infrastructure/RequestUri.cs +++ b/ShopifySharp/Infrastructure/RequestUri.cs @@ -1,7 +1,6 @@ using System; using System.Linq; using System.Collections.Generic; -using Newtonsoft.Json; namespace ShopifySharp.Infrastructure { diff --git a/ShopifySharp/Lists/LinkHeaderParserResult.cs b/ShopifySharp/Lists/LinkHeaderParserResult.cs index f63bb833..02f7764a 100644 --- a/ShopifySharp/Lists/LinkHeaderParserResult.cs +++ b/ShopifySharp/Lists/LinkHeaderParserResult.cs @@ -1,6 +1,4 @@ -using ShopifySharp.Filters; - -namespace ShopifySharp.Lists +namespace ShopifySharp.Lists { public class LinkHeaderParseResult { diff --git a/ShopifySharp/Lists/ListResult.cs b/ShopifySharp/Lists/ListResult.cs index 54d36d17..db1e51f0 100644 --- a/ShopifySharp/Lists/ListResult.cs +++ b/ShopifySharp/Lists/ListResult.cs @@ -1,7 +1,5 @@ using ShopifySharp.Filters; -using ShopifySharp.Infrastructure; using System.Collections.Generic; -using System.Linq; namespace ShopifySharp.Lists { diff --git a/ShopifySharp/Services/AccessScope/IAccessScopeService.cs b/ShopifySharp/Services/AccessScope/IAccessScopeService.cs index ba7c88bb..c98a70f2 100644 --- a/ShopifySharp/Services/AccessScope/IAccessScopeService.cs +++ b/ShopifySharp/Services/AccessScope/IAccessScopeService.cs @@ -1,6 +1,5 @@ using ShopifySharp.Enums; using System.Collections.Generic; -using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/ShopifySharp/Services/GiftCard/GiftCardService.cs b/ShopifySharp/Services/GiftCard/GiftCardService.cs index b89396af..2152b257 100644 --- a/ShopifySharp/Services/GiftCard/GiftCardService.cs +++ b/ShopifySharp/Services/GiftCard/GiftCardService.cs @@ -1,11 +1,9 @@ using ShopifySharp.Filters; using ShopifySharp.Infrastructure; using ShopifySharp.Lists; -using System.Collections.Generic; using System.Net.Http; using System.Threading.Tasks; using System.Threading; -using System; namespace ShopifySharp { diff --git a/ShopifySharp/Services/IShopifyService.cs b/ShopifySharp/Services/IShopifyService.cs index 6a49aa1c..b8b72843 100644 --- a/ShopifySharp/Services/IShopifyService.cs +++ b/ShopifySharp/Services/IShopifyService.cs @@ -1,5 +1,3 @@ -using System.Net.Http; - namespace ShopifySharp { public interface IShopifyService diff --git a/ShopifySharp/Services/Order/OrderCreateOptions.cs b/ShopifySharp/Services/Order/OrderCreateOptions.cs index b6dbe396..49ca3410 100644 --- a/ShopifySharp/Services/Order/OrderCreateOptions.cs +++ b/ShopifySharp/Services/Order/OrderCreateOptions.cs @@ -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 { diff --git a/ShopifySharp/Services/ScriptTag/ScriptTagService.cs b/ShopifySharp/Services/ScriptTag/ScriptTagService.cs index 38286150..12160bc9 100644 --- a/ShopifySharp/Services/ScriptTag/ScriptTagService.cs +++ b/ShopifySharp/Services/ScriptTag/ScriptTagService.cs @@ -1,8 +1,5 @@ -using System; -using Newtonsoft.Json.Linq; -using System.Net.Http; +using System.Net.Http; using ShopifySharp.Filters; -using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using ShopifySharp.Infrastructure; diff --git a/ShopifySharp/Services/ShopifyService.cs b/ShopifySharp/Services/ShopifyService.cs index d4a9a2ca..517b3596 100644 --- a/ShopifySharp/Services/ShopifyService.cs +++ b/ShopifySharp/Services/ShopifyService.cs @@ -2,7 +2,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Net; using System.Net.Http; using System.Threading.Tasks; using Newtonsoft.Json.Linq; diff --git a/ShopifySharp/Services/Webhook/IWebhookService.cs b/ShopifySharp/Services/Webhook/IWebhookService.cs index 93e64833..331afd78 100644 --- a/ShopifySharp/Services/Webhook/IWebhookService.cs +++ b/ShopifySharp/Services/Webhook/IWebhookService.cs @@ -1,4 +1,3 @@ -using System.Net.Http; using System.Threading; using System.Threading.Tasks; using ShopifySharp.Filters;